diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 21:40:29 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 21:40:29 +0000 |
commit | 04169ae30bceed40f4a3d5f5451ad7c65946a52d (patch) | |
tree | 20efe87c933a5cf469f74fb07b5def04d6a4ccca /net-proxy/3proxy/3proxy-0.5b.ebuild | |
parent | net-misc/dante -> net-proxy/dante (diff) | |
download | gentoo-2-04169ae30bceed40f4a3d5f5451ad7c65946a52d.tar.gz gentoo-2-04169ae30bceed40f4a3d5f5451ad7c65946a52d.tar.bz2 gentoo-2-04169ae30bceed40f4a3d5f5451ad7c65946a52d.zip |
net-misc/3proxy -> net-proxy/3proxy
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy/3proxy/3proxy-0.5b.ebuild')
-rw-r--r-- | net-proxy/3proxy/3proxy-0.5b.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-proxy/3proxy/3proxy-0.5b.ebuild b/net-proxy/3proxy/3proxy-0.5b.ebuild new file mode 100644 index 000000000000..46eebd5946a0 --- /dev/null +++ b/net-proxy/3proxy/3proxy-0.5b.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/3proxy/3proxy-0.5b.ebuild,v 1.1 2005/04/22 21:40:29 mrness Exp $ + +inherit toolchain-funcs + +DESCRIPTION="really tiny cross-platform proxy servers set" +HOMEPAGE="http://www.security.nnov.ru/soft/3proxy/" +SRC_URI="http://www.security.nnov.ru/soft/3proxy/${PV}/3proxy.tgz" + +LICENSE="3proxy" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "/^CFLAGS/s:-O2:${CFLAGS}:" \ + Makefile.unix || die "sed Makefile" + sed -i 's:/usr/local::' src/stringtable.c || die "sed stringtable" + find . -type f -print0 | xargs -0 chmod a-x +} + +src_compile() { + emake CC="$(tc-getCC)" LN="$(tc-getCC)" -f Makefile.unix || die +} + +src_install() { + cd ${S}/src + dobin 3proxy || die "dobin 3proxy failed" + for bin in proxy socks pop3p tcppm udppm mycrypt dighosts ; do + newbin ${bin} ${PN}-${bin} || die "newbin ${bin} failed" + done + + cd ${S}/cfg + find -type f | dodoc + + cd ${S}/man + doman *.[38] + + cd ${S} + dodoc Changelog Readme Release.notes + cd ${S}/doc + find -name '*.txt' | dodoc + find -name '*.html' | dohtml +} |