blob: 07a741037227dbd3ba2d72027c19a93c6a6e5ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/proxyper/proxyper-333.ebuild,v 1.3 2003/09/05 12:10:36 msterret Exp $
# This is my very first ebuild. I hope it will be easy since there's no
# compiling and stuff... ...let's see :-)
DESCRIPTION="distributed.net personal proxy"
HOMEPAGE="http://www.distributed.net"
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"
IUSE=""
DEPEND=""
RDEPEND="net-misc/host"
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
RESTRICT="nomirror"
src_install() {
exeinto /opt/proxyper ; doexe proxyper
insinto /opt/proxyper ; doins proxyper.ini
dodoc ChangeLog.txt
dohtml manual.html
exeinto /etc/init.d ; newexe ${FILESDIR}/proxyper.init proxyper
}
pkg_postinst() {
einfo "Don't forget to modify the config file"
einfo "located in /opt/proxyper/proxyper.ini"
einfo "I recommend reading the manual first :-)"
}
pkg_postrm() {
if [ -d /opt/proxyper ]; then
einfo "All files has not been removed from /opt/proxyper"
fi
}
|