Lines 1-6
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 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/dev-libs/libnl/libnl-1.0_pre6.ebuild,v 1.4 2007/04/30 12:03:17 armin76 Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils multilib linux-info |
5 |
inherit eutils multilib linux-info |
6 |
|
6 |
|
Lines 14-29
Link Here
|
14 |
|
14 |
|
15 |
src_unpack() { |
15 |
src_unpack() { |
16 |
unpack ${A} |
16 |
unpack ${A} |
17 |
cd ${S}/lib |
17 |
cd "${S}" |
|
|
18 |
epatch "${FILESDIR}"/${P}-pkgconfig.patch |
19 |
cd "${S}"/lib |
18 |
sed -i Makefile -e 's:install -o root -g root:install:' |
20 |
sed -i Makefile -e 's:install -o root -g root:install:' |
19 |
cd ${S}/include |
21 |
cd "${S}"/include |
20 |
sed -i Makefile -e 's:install -o root -g root:install:g' |
22 |
sed -i Makefile -e 's:install -o root -g root:install:g' |
21 |
epatch "${FILESDIR}/${PN}-1.0_pre5-include.diff" |
23 |
epatch "${FILESDIR}"/${PN}-1.0_pre5-include.diff |
22 |
epatch "${FILESDIR}/${PN}-1.0_pre5-__u64_x86_64.patch" |
24 |
epatch "${FILESDIR}"/${PN}-1.0_pre5-__u64_x86_64.patch |
23 |
} |
25 |
} |
24 |
|
26 |
|
25 |
src_install() { |
27 |
src_install() { |
26 |
make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die |
28 |
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "emake install failed." |
27 |
insinto /usr/share/pkgconfig/ |
|
|
28 |
doins ${FILESDIR}/libnl-1.pc |
29 |
} |
29 |
} |