Lines 2-8
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-analyzer/traceroute/traceroute-2.0.18.ebuild,v 1.9 2012/06/12 03:34:17 zmedico Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-2.0.18.ebuild,v 1.9 2012/06/12 03:34:17 zmedico Exp $ |
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit flag-o-matic multilib toolchain-funcs |
7 |
inherit flag-o-matic multilib toolchain-funcs |
8 |
|
8 |
|
Lines 17-24
Link Here
|
17 |
|
17 |
|
18 |
src_compile() { |
18 |
src_compile() { |
19 |
use static && append-ldflags -static |
19 |
use static && append-ldflags -static |
|
|
20 |
append-ldflags -L../libsupp |
20 |
tc-export CC AR RANLIB |
21 |
tc-export CC AR RANLIB |
21 |
emake env=yes || die |
22 |
emake env=yes |
22 |
} |
23 |
} |
23 |
|
24 |
|
24 |
src_install() { |
25 |
src_install() { |
Lines 26-32
Link Here
|
26 |
DESTDIR="${D}" \ |
27 |
DESTDIR="${D}" \ |
27 |
prefix="${EPREFIX}/usr" \ |
28 |
prefix="${EPREFIX}/usr" \ |
28 |
libdir="${EPREFIX}/usr/$(get_libdir)" \ |
29 |
libdir="${EPREFIX}/usr/$(get_libdir)" \ |
29 |
install \ |
30 |
install |
30 |
|| die |
|
|
31 |
dodoc ChangeLog CREDITS README TODO |
31 |
dodoc ChangeLog CREDITS README TODO |
32 |
} |
32 |
} |