/[gentoo-x86]/net-misc/tinc/tinc-1.0.18.ebuild
Gentoo

Diff of /net-misc/tinc/tinc-1.0.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
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/Attic/tinc-1.0.18.ebuild,v 1.1 2012/03/26 01:44:07 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/Attic/tinc-1.0.18.ebuild,v 1.2 2012/03/26 12:40:17 blueness Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit eutils autotools 7inherit eutils autotools
8 8
11SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz" 11SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos" 15KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
16IUSE="+lzo vde +zlib" 16IUSE="+lzo uml vde +zlib"
17 17
18DEPEND=">=dev-libs/openssl-0.9.7 18DEPEND=">=dev-libs/openssl-0.9.7
19 lzo? ( dev-libs/lzo:2 ) 19 lzo? ( dev-libs/lzo:2 )
20 zlib? ( >=sys-libs/zlib-1.1.4 )" 20 zlib? ( >=sys-libs/zlib-1.1.4 )"
21RDEPEND="${DEPEND} 21RDEPEND="${DEPEND}
25 epatch "${FILESDIR}"/fix-ac-arg-enable.patch 25 epatch "${FILESDIR}"/fix-ac-arg-enable.patch
26 eautoreconf 26 eautoreconf
27} 27}
28 28
29src_configure() { 29src_configure() {
30 # The new DeviceType option can now be used to select UML or VDE
31 # devices without having to recompile. So we'll set UML by default
32 # since it doesn't pull in any deps, but VDE needs net-misc/vde,
33 # so we'll keep that contingent on a USE flag.
34 econf \ 30 econf \
35 --enable-jumbograms \ 31 --enable-jumbograms \
36 --enable-uml \ 32 --disable-tunemu \
33 $(use_enable lzo) \
34 $(use_enable uml) \
37 $(use_enable vde) \ 35 $(use_enable vde) \
38 $(use_enable lzo) \
39 $(use_enable zlib) 36 $(use_enable zlib)
40} 37}
41 38
42src_install() { 39src_install() {
43 emake DESTDIR="${D}" install 40 emake DESTDIR="${D}" install

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20