Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.3.ebuild,v 1.1 2005/04/29 18:39:06 warpzero Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.3.ebuild,v 1.1 2005/04/29 18:39:06 warpzero Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
5 |
|
6 |
|
6 |
DESCRIPTION="tinc is an easy to configure VPN implementation" |
7 |
DESCRIPTION="tinc is an easy to configure VPN implementation" |
7 |
HOMEPAGE="http://tinc.nl.linux.org/" |
8 |
HOMEPAGE="http://tinc.nl.linux.org/" |
Lines 14-30
Link Here
|
14 |
|
15 |
|
15 |
DEPEND=">=dev-libs/openssl-0.9.7c |
16 |
DEPEND=">=dev-libs/openssl-0.9.7c |
16 |
virtual/linux-sources |
17 |
virtual/linux-sources |
17 |
>=dev-libs/lzo-1.08 |
18 |
>=dev-libs/lzo-2 |
18 |
>=sys-libs/zlib-1.1.4-r2" |
19 |
>=sys-libs/zlib-1.1.4-r2" |
19 |
|
20 |
|
|
|
21 |
src_unpack() { |
22 |
unpack ${A} |
23 |
epatch ${FILESDIR}/${P}-lzo2.patch |
24 |
} |
25 |
|
20 |
src_compile() { |
26 |
src_compile() { |
21 |
econf --enable-jumbograms || die |
27 |
econf --enable-jumbograms --with-lzo-include=/usr/include/lzo || die |
22 |
emake || die |
28 |
emake || die |
23 |
} |
29 |
} |
24 |
|
30 |
|
25 |
src_install() { |
31 |
src_install() { |
26 |
make DESTDIR=${D} install || die |
32 |
make DESTDIR=${D} install || die |
27 |
dodoc AUTHORS INSTALL NEWS README THANKS TODO |
33 |
dodoc AUTHORS NEWS README THANKS TODO |
28 |
exeinto /etc/init.d ; newexe ${FILESDIR}/tincd tincd |
34 |
exeinto /etc/init.d ; newexe ${FILESDIR}/tincd tincd |
29 |
} |
35 |
} |
30 |
|
36 |
|