/[gentoo-x86]/net-misc/proxyper/proxyper-335.ebuild
Gentoo

Contents of /net-misc/proxyper/proxyper-335.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jan 25 21:35:00 2008 UTC (11 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
x86 stable, remove old
(Portage version: 2.1.3.19)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/proxyper/proxyper-335.ebuild,v 1.4 2007/04/29 17:44:16 tove Exp $
4
5 DESCRIPTION="distributed.net personal proxy"
6 HOMEPAGE="http://www.distributed.net"
7 SRC_URI="http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz"
8 LICENSE="distributed.net"
9 SLOT="0"
10 KEYWORDS="x86 -ppc -sparc -alpha"
11 IUSE=""
12 DEPEND=""
13 RDEPEND="net-dns/host"
14
15 S="${WORKDIR}/${PN}${PV}-linux-x86"
16
17 RESTRICT="mirror"
18
19 src_install() {
20 local DESTDIR="/opt/proxyper"
21 exeinto ${DESTDIR} ; doexe proxyper
22
23 # don't clobber an already existing ini file!
24 insinto ${DESTDIR}
25 if [ ! -f ${DESTDIR}/proxyper.ini ]
26 then
27 doins proxyper.ini
28 else
29 newins ${DESTDIR}/proxyper.ini proxyper.ini
30 fi
31
32 dodoc ChangeLog.txt
33 dohtml manual.html
34
35 newinitd ${FILESDIR}/proxyper.init proxyper
36 }
37
38 pkg_postinst() {
39 einfo "Don't forget to modify the config file"
40 einfo "located in /opt/proxyper/proxyper.ini"
41 einfo "It's recommend to reading the manual first :-)"
42 }
43
44 pkg_postrm() {
45 local DESTDIR="/opt/proxyper"
46 if [ -d ${DESTDIR} ]; then
47 einfo "All files have not been removed from ${DESTDIR}"
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20