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

Contents of /net-misc/proxyper/proxyper-333.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-333.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="x86? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-x86.tar.gz )
8 alpha? ( http://http.distributed.net/pub/dcti/${PN}/${PN}${PV}-linux-alpha.tar.gz )"
9 LICENSE="distributed.net"
10 SLOT="0"
11 KEYWORDS="x86 -ppc -sparc ~alpha"
12 IUSE=""
13 DEPEND=""
14 RDEPEND="net-dns/host"
15 if use x86; then
16 S="${WORKDIR}/${PN}${PV}-linux-x86"
17 elif use ppc; then
18 S="${WORKDIR}/${PN}${PV}-linux-ppc"
19 elif use sparc; then
20 S="${WORKDIR}/${PN}${PV}-linux-sparc"
21 elif use alpha; then
22 S="${WORKDIR}/${PN}${PV}-linux-alpha"
23 fi
24
25 RESTRICT="mirror"
26
27 src_install() {
28 exeinto /opt/proxyper ; doexe proxyper
29 insinto /opt/proxyper ; doins proxyper.ini
30
31 dodoc ChangeLog.txt
32 dohtml manual.html
33
34 newinitd ${FILESDIR}/proxyper.init proxyper
35 }
36
37 pkg_postinst() {
38 einfo "Don't forget to modify the config file"
39 einfo "located in /opt/proxyper/proxyper.ini"
40 einfo "It's recommend to reading the manual first :-)"
41 }
42
43 pkg_postrm() {
44 if [ -d /opt/proxyper ]; then
45 einfo "All files has not been removed from /opt/proxyper"
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20