/[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.9 - (hide annotations) (download)
Tue Nov 28 17:34:58 2006 UTC (13 years, 2 months ago) by jokey
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Security cleanup
(Portage version: 2.1.2_rc2-r2)
 (Signed Manifest commit)

1 agriffis 1.8 # Copyright 1999-2005 Gentoo Foundation
2 seemant 1.1 # Distributed under the terms of the GNU General Public License v2
3 jokey 1.9 # $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.5.2.ebuild,v 1.8 2005/04/01 16:26:08 agriffis Exp $
4 seemant 1.1
5     DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
6     HOMEPAGE="http://www.winton.org.uk/zebedee/"
7     SRC_URI="mirror://sourceforge/zebedee/${P}.tar.gz"
8    
9     LICENSE="GPL-2"
10     SLOT="0"
11 agriffis 1.8 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ia64 ~amd64 ~ppc64 s390"
12 agriffis 1.7 IUSE=""
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