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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Wed Sep 7 16:05:59 2005 UTC (14 years, 5 months ago) by vanquirius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
bug 105115
(Portage version: 2.0.51.22-r2)

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

  ViewVC Help
Powered by ViewVC 1.1.20