summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-01 17:22:22 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-01 17:22:22 +0000
commit4e0a2e1e245c230309f5293132b06bb49899e037 (patch)
treee371209cf41fd2c2ef49b8dc3c9f0a224b3ef01f /sys-apps
parentold (diff)
downloadgentoo-2-4e0a2e1e245c230309f5293132b06bb49899e037.tar.gz
gentoo-2-4e0a2e1e245c230309f5293132b06bb49899e037.tar.bz2
gentoo-2-4e0a2e1e245c230309f5293132b06bb49899e037.zip
Fix install location of .pc file #287206 by Tiziano Müller.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/usbutils/ChangeLog7
-rw-r--r--sys-apps/usbutils/usbutils-0.86-r1.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog
index 27e26334c3e3..3b3059185bc6 100644
--- a/sys-apps/usbutils/ChangeLog
+++ b/sys-apps/usbutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/usbutils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.79 2009/10/01 03:37:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.80 2009/10/01 17:22:22 vapier Exp $
+
+*usbutils-0.86-r1 (01 Oct 2009)
+
+ 01 Oct 2009; Mike Frysinger <vapier@gentoo.org> +usbutils-0.86-r1.ebuild:
+ Fix install location of .pc file #287206 by Tiziano Müller.
*usbutils-0.86 (01 Oct 2009)
diff --git a/sys-apps/usbutils/usbutils-0.86-r1.ebuild b/sys-apps/usbutils/usbutils-0.86-r1.ebuild
new file mode 100644
index 000000000000..aa384c385321
--- /dev/null
+++ b/sys-apps/usbutils/usbutils-0.86-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.86-r1.ebuild,v 1.1 2009/10/01 17:22:22 vapier Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="USB enumeration utilities"
+HOMEPAGE="http://linux-usb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/linux-usb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="network-cron zlib"
+
+DEPEND="virtual/libusb:0
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.82-fbsd.patch #275052
+ sed -i '/^pkgconfigdir/s:datadir:datarootdir:' Makefile.in #287206
+}
+
+src_configure() {
+ econf \
+ --datarootdir=/usr/share \
+ --datadir=/usr/share/misc \
+ $(use_enable zlib)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ newbin "${FILESDIR}"/usbmodules.sh usbmodules || die
+ newsbin update-usbids.sh update-usbids || die "update-usbids failed"
+ dodoc AUTHORS ChangeLog NEWS README
+
+ use network-cron || return 0
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/usbutils.cron update-usbids || die
+}