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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jun 27 17:17:08 2012 UTC (7 years, 5 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.2/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20