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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

(Portage version: 2.1.11.2/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.3.ebuild,v 1.8 2010/01/21 22:58:03 cla Exp $
4
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 KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ~ppc ppc64 s390 ~sparc x86"
12 IUSE=""
13
14 DEPEND="dev-lang/perl
15 dev-libs/openssl
16 sys-libs/zlib
17 app-arch/bzip2"
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 sed -r '/^CFLAGS/s:=:+=:' -i Makefile
23 }
24
25 src_compile() {
26 emake \
27 BFINC=-I/usr/include/openssl \
28 BFLIB=-lcrypto \
29 ZINC=-I/usr/include \
30 ZLIB=-lz \
31 BZINC=-I/usr/include \
32 BZLIB=-lbz2 \
33 OS=linux || die
34 }
35
36 src_install() {
37 make \
38 ROOTDIR="${D}"/usr \
39 MANDIR="${D}"/usr/share/man/man1 \
40 ZBDDIR="${D}"/etc/zebedee \
41 OS=linux \
42 install || die
43
44 rm -f "${D}"/etc/zebedee/*.{txt,html}
45
46 dodoc *.txt
47 dohtml *.html
48
49 doinitd "${FILESDIR}"/zebedee
50 }
51
52 pkg_postinst() {
53 echo
54 einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
55 einfo "recommended that you edit the server config file: "
56 einfo "(/etc/zebedee/server.zbd)."
57 einfo "the \"detached\" directive should remain set to false;"
58 einfo "the rc script takes care of backgrounding automatically."
59 echo
60 }

  ViewVC Help
Powered by ViewVC 1.1.20