Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 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/sys-apps/usbutils/usbutils-0.87.ebuild,v 1.2 2010/04/25 18:02:09 aballier Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
|
6 |
|
Lines 22-28
Link Here
|
22 |
|
22 |
|
23 |
src_prepare() { |
23 |
src_prepare() { |
24 |
epatch "${FILESDIR}"/${PN}-0.87-fbsd.patch #275052 #316671 |
24 |
epatch "${FILESDIR}"/${PN}-0.87-fbsd.patch #275052 #316671 |
25 |
sed -i '/^pkgconfigdir/s:datadir:datarootdir:' Makefile.am #287206 |
|
|
26 |
eautoreconf |
25 |
eautoreconf |
27 |
} |
26 |
} |
28 |
|
27 |
|
Lines 34-40
Link Here
|
34 |
} |
33 |
} |
35 |
|
34 |
|
36 |
src_install() { |
35 |
src_install() { |
37 |
emake DESTDIR="${D}" install || die "install failed" |
36 |
# explicit declaration of pkgconfigdir fixes #323081 #287206 |
|
|
37 |
emake DESTDIR="${D}" pkgconfigdir="/usr/share/pkgconfig" install || die "install failed" |
38 |
mv "${D}"/usr/sbin/update-usbids{.sh,} || die |
38 |
mv "${D}"/usr/sbin/update-usbids{.sh,} || die |
39 |
newbin "${FILESDIR}"/usbmodules.sh usbmodules || die |
39 |
newbin "${FILESDIR}"/usbmodules.sh usbmodules || die |
40 |
dodoc AUTHORS ChangeLog NEWS README |
40 |
dodoc AUTHORS ChangeLog NEWS README |