/[gentoo-x86]/net-misc/dante/dante-1.1.9.ebuild
Gentoo

Contents of /net-misc/dante/dante-1.1.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Apr 27 05:34:50 2001 UTC (18 years, 9 months ago) by achim
Branch: MAIN
CVS Tags: gentoo_1_0_rc5
A socks package

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Your Name <your email>
4 # $Header: /home/cvsroot/gentoo-x86/skel.build,v 1.2 2001/02/15 18:17:31 achim Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="A free socks4,5 and msproxy implemetation"
9 SRC_URI="ftp://ftp.inet.no/pub/socks/${A}"
10 HOMEPAGE="http://www.inet.no/dante/"
11
12 DEPEND="virtual/glibc "
13
14 src_compile() {
15 local myconf
16 if [ -z "`use tcpd`" ]
17 then
18 myconf="--disable-libwrap"
19 fi
20 if [ "$DEBUG" ]
21 then
22 myconf="$myconf --enble-debug"
23 fi
24
25 try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} $myconf \
26 --with-socks-conf=/etc/socks/socks.conf --with-sockd-conf=/etc/socks/sockd.conf
27 try make
28
29 }
30
31 src_install () {
32
33 try make DESTDIR=${D} install
34 dodir /etc/socks
35 dodoc BUGS CREDITS LICENSE NEWS README SUPPORT TODO VERSION
36 docinto txt
37 cd doc
38 dodoc README* *.txt SOCKS4.*
39 docinto example
40 cd ../example
41 dodoc *.conf
42 }
43

  ViewVC Help
Powered by ViewVC 1.1.20