/[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 - (show annotations) (download)
Wed Sep 7 16:05:59 2005 UTC (14 years, 4 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 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
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
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64 ~ppc64"
12 IUSE=""
13
14 DEPEND="dev-lang/perl
15 dev-libs/openssl
16 sys-libs/zlib
17 app-arch/bzip2"
18
19 src_compile() {
20 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 }
29
30 src_install() {
31 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 exeinto /etc/init.d
44 doexe ${FILESDIR}/zebedee
45 }
46
47 pkg_postinst() {
48 echo
49 einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
50 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 }

  ViewVC Help
Powered by ViewVC 1.1.20