blob: c8423cd31fd7a6fae2e3bb4be117611cc461670d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/3proxy/3proxy-0.4.3b.ebuild,v 1.3 2004/07/01 20:38:28 squinky86 Exp $
IUSE=""
DESCRIPTION="really tiny cross-platform proxy servers set"
HOMEPAGE="http://www.security.nnov.ru/soft/3proxy/"
SRC_URI="mirror://gentoo/${P}.tgz"
#http://www.security.nnov.ru/soft/3proxy/${PV}/3proxy.tgz
LICENSE="3proxy"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/libc"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd ${S}
sed -i "s:-O2:${CFLAGS}:" Makefile.unix || die
sed -i 's:/usr/local::' stringtable.c || die
}
src_compile() {
emake -f Makefile.unix || die
}
src_install() {
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
chmod a-x 3proxy.cfg.sample Changelog Readme Release.notes
dodoc 3proxy.cfg.sample Changelog Readme Release.notes
}
|