/[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.6 - (show annotations) (download)
Fri Jun 25 00:21:54 2004 UTC (15 years, 8 months ago) by agriffis
Branch: MAIN
Changes since 1.5: +2 -2 lines
update copyright line: Gentoo Technologies => Gentoo Foundation

1 # Copyright 1999-2004 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.5.2.ebuild,v 1.5 2004/06/08 09:02:05 kloeri Exp $
4
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 KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ~ia64 ~amd64 ~ppc64 s390"
13
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 ZBDDIR=${D}/etc/zebedee \
36 OS=linux \
37 install || die
38
39 rm -f ${D}/etc/zebedee/*.{txt,html}
40
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