diff options
Diffstat (limited to 'app-misc/proxyper/proxyper-335.ebuild')
-rw-r--r-- | app-misc/proxyper/proxyper-335.ebuild | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/app-misc/proxyper/proxyper-335.ebuild b/app-misc/proxyper/proxyper-335.ebuild index effd56bf3126..7a0b092c12cf 100644 --- a/app-misc/proxyper/proxyper-335.ebuild +++ b/app-misc/proxyper/proxyper-335.ebuild @@ -1,33 +1,23 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-335.ebuild,v 1.3 2004/06/02 02:15:23 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-335.ebuild,v 1.4 2004/06/07 07:55:41 dragonheart Exp $ DESCRIPTION="distributed.net personal proxy" HOMEPAGE="http://www.distributed.net" -SRC_URI="x86? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz )" +SRC_URI="http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz" LICENSE="distributed.net" SLOT="0" -KEYWORDS="~x86 -ppc -sparc -alpha" +KEYWORDS="x86 -ppc -sparc -alpha" IUSE="" DEPEND="" RDEPEND="net-misc/host" -# added a DESTDIR variable to make things cleaner -DESTDIR="/opt/proxyper" - -if use x86; then - S="${WORKDIR}/${PN}${PV}-linux-x86" -elif use ppc; then - S="${WORKDIR}/${PN}${PV}-linux-ppc" -elif use sparc; then - S="${WORKDIR}/${PN}${PV}-linux-sparc" -elif use alpha; then - S="${WORKDIR}/${PN}${PV}-linux-alpha" -fi +S="${WORKDIR}/${PN}${PV}-linux-x86" RESTRICT="nomirror" src_install() { + local DESTDIR="/opt/proxyper" exeinto ${DESTDIR} ; doexe proxyper # don't clobber an already existing ini file! @@ -52,7 +42,8 @@ pkg_postinst() { } pkg_postrm() { + local DESTDIR="/opt/proxyper" if [ -d ${DESTDIR} ]; then - einfo "All files have not been removed from /opt/proxyper" + einfo "All files have not been removed from ${DESTDIR}" fi } |