summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-09-07 16:05:59 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-09-07 16:05:59 +0000
commit92f3af3e65208523e73f22f697295d86a239500b (patch)
treea72dcc4f2f91230912fb1a5d9025935704ec1d86 /net-misc/zebedee/zebedee-2.4.1-r1.ebuild
parentStable on ppc64 (diff)
downloadgentoo-2-92f3af3e65208523e73f22f697295d86a239500b.tar.gz
gentoo-2-92f3af3e65208523e73f22f697295d86a239500b.tar.bz2
gentoo-2-92f3af3e65208523e73f22f697295d86a239500b.zip
bug 105115
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/zebedee/zebedee-2.4.1-r1.ebuild')
-rw-r--r--net-misc/zebedee/zebedee-2.4.1-r1.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/zebedee/zebedee-2.4.1-r1.ebuild b/net-misc/zebedee/zebedee-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..094e097c6770
--- /dev/null
+++ b/net-misc/zebedee/zebedee-2.4.1-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zebedee/zebedee-2.4.1-r1.ebuild,v 1.1 2005/09/07 16:05:59 vanquirius Exp $
+
+MY_P="${P}A"
+DESCRIPTION="A simple, free, secure TCP and UDP tunnel program"
+HOMEPAGE="http://www.winton.org.uk/zebedee/"
+SRC_URI="http://www.winton.org.uk/zebedee/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64 ~ppc64"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ dev-libs/openssl
+ sys-libs/zlib
+ app-arch/bzip2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake \
+ BFINC=-I/usr/include/openssl \
+ BFLIB=-lcrypto \
+ ZINC=-I/usr/include \
+ ZLIB=-lz \
+ BZINC=-I/usr/include \
+ BZLIB=-lbz2 \
+ OS=linux || die
+}
+
+src_install() {
+ make \
+ ROOTDIR=${D}/usr \
+ MANDIR=${D}/usr/share/man/man1 \
+ ZBDDIR=${D}/etc/zebedee \
+ OS=linux \
+ install || die
+
+ rm -f ${D}/etc/zebedee/*.{txt,html}
+
+ dodoc *.txt
+ dohtml *.html
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/zebedee
+}
+
+pkg_postinst() {
+ echo
+ einfo "Before you use the Zebedee rc script (/etc/init.d/zebedee), it is"
+ einfo "recommended that you edit the server config file: "
+ einfo "(/etc/zebedee/server.zbd)."
+ einfo "the \"detached\" directive should remain set to false;"
+ einfo "the rc script takes care of backgrounding automatically."
+ echo
+}