/[gentoo-x86]/net-misc/zebedee/zebedee-2.5.2.ebuild
Gentoo

Contents of /net-misc/zebedee/zebedee-2.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Jun 8 09:02:05 2004 UTC (15 years, 8 months ago) by kloeri
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on alpha.

1 seemant 1.1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 kloeri 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.5.2.ebuild,v 1.4 2004/04/17 03:31:48 randy Exp $
4 seemant 1.1
5     S=${WORKDIR}/${P}
6     DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
7     HOMEPAGE="http://www.winton.org.uk/zebedee/"
8     SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz"
9    
10     LICENSE="GPL-2"
11     SLOT="0"
12 kloeri 1.5 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ~ia64 ~amd64 ~ppc64 s390"
13 seemant 1.1
14    
15     DEPEND="dev-lang/perl
16     dev-libs/openssl
17     sys-libs/zlib
18     app-arch/bzip2"
19    
20     src_compile() {
21     emake \
22     BFINC=-I/usr/include/openssl \
23     BFLIB=-lcrypto \
24     ZINC=-I/usr/include \
25     ZLIB=-lz \
26     BZINC=-I/usr/include \
27     BZLIB=-lbz2 \
28     OS=linux || die
29     }
30    
31     src_install() {
32     make \
33     ROOTDIR=${D}/usr \
34     MANDIR=${D}/usr/share/man/man1 \
35 seemant 1.2 ZBDDIR=${D}/etc/zebedee \
36 seemant 1.1 OS=linux \
37     install || die
38    
39 seemant 1.2 rm -f ${D}/etc/zebedee/*.{txt,html}
40 seemant 1.1
41     dodoc *.txt
42     dohtml *.html
43    
44     exeinto /etc/init.d
45     doexe ${FILESDIR}/zebedee
46     }
47    
48     pkg_postinst() {
49     echo
50     einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
51     einfo "recommended that you edit the server config file: "
52     einfo "(/etc/zebedee/server.zbd)."
53     einfo "the \"detached\" directive should remain set to false;"
54     einfo "the rc script takes care of backgrounding automatically."
55     echo
56     }

  ViewVC Help
Powered by ViewVC 1.1.20