# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_PV=${PV//./_} MY_P=smartcvs-generic-${MY_PV} DESCRIPTION="SmartSVN" HOMEPAGE="http://www.syntevo.com/smartcvs/" SRC_URI="${MY_P}.tar.gz" SLOT="0" LICENSE="smartcvs" KEYWORDS="~x86" IUSE="" RESTRICT="fetch nomirror" RDEPEND=">=virtual/jre-1.4.1" S="${WORKDIR}/smartcvs-${MY_PV}" src_unpack() { unpack ${A} } src_compile() { true } src_install() { dodir /opt/smartcvs cp -dPR * ${D}/opt/smartcvs/ dosym /opt/smartcvs/bin/smartcvs.sh /usr/bin/ #insinto /opt/${PN}/bin for X in 32 48 64 128 do insinto /usr/share/icons/hicolor/${X}x${X}/apps newins ${S}/bin/${PN}-${X}x${X}.png ${PN}.png done make_desktop_entry ${PN}.sh "SmartCVS" ${PN}.png "Development;RevisionControl" # exeinto /opt/${PN} # doexe } pkg_nofetch() { einfo "Please download ${MY_P}.tar.gz from:" einfo "http://www.syntevo.com/smartcvs/download.html?file=smartcvs%2Fsmartcvs-generic-6_0_8.tar.gz" einfo "and move/copy to ${DISTDIR}" }