# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_PV=${PV//./_} MY_P=smartsvn-generic-${MY_PV} DESCRIPTION="SmartSVN" HOMEPAGE="http://www.syntevo.com/smartsvn/" SRC_URI="${MY_P}.tar.gz" SLOT="0" LICENSE="smartsvn" KEYWORDS="~x86" IUSE="" RESTRICT="fetch nomirror" RDEPEND=">=virtual/jre-1.4.1" S="${WORKDIR}/smartsvn-${MY_PV}" src_unpack() { unpack ${A} } src_compile() { true } src_install() { dodir /opt/smartsvn cp -dPR * ${D}/opt/smartsvn/ dosym /opt/smartsvn/bin/smartsvn.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/smartsvn-${X}x${X}.png ${PN}.png done make_desktop_entry ${PN}.sh "SmartSVN" ${PN}.png "Development;RevisionControl" # exeinto /opt/${PN} # doexe } pkg_nofetch() { einfo "Please download ${MY_P}.tar.gz from:" einfo " http://www.syntevo.com/smartsvn/download.html?file=smartsvn%2Fsmartsvn-generic-3_0_5.tar.gz" einfo "and move/copy to ${DISTDIR}" }