diff options
author | Greg Kroah-Hartman <gregkh@gentoo.org> | 2009-04-27 02:36:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@gentoo.org> | 2009-04-27 02:36:05 +0000 |
commit | aadb94ff25bfe53d507de2744a4ebfd3a25f4d2c (patch) | |
tree | 10d80936b1e4e8491c59f2d7ee9dd2288b5e23c5 /sys-apps | |
parent | Added patch to allow the use of system iniparser. Many thanks to Diego E. Pet... (diff) | |
download | gentoo-2-aadb94ff25bfe53d507de2744a4ebfd3a25f4d2c.tar.gz gentoo-2-aadb94ff25bfe53d507de2744a4ebfd3a25f4d2c.tar.bz2 gentoo-2-aadb94ff25bfe53d507de2744a4ebfd3a25f4d2c.zip |
0.80 release
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/usbutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-0.80.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index 6b7f5ffa9e2b..ab0ade8c177d 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.75 2009/01/04 16:50:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.76 2009/04/27 02:36:05 gregkh Exp $ + +*usbutils-0.80 (27 Apr 2009) + + 27 Apr 2009; Greg Kroah-Hartman <gregkh@gentoo.org> +usbutils-0.80.ebuild: + update to 0.80 release 04 Jan 2009; Mike Frysinger <vapier@gentoo.org> usbutils-0.73.ebuild: Drop unused --enable-usbmodules #253603 by Arfrever Frehtes Taifersar diff --git a/sys-apps/usbutils/usbutils-0.80.ebuild b/sys-apps/usbutils/usbutils-0.80.ebuild new file mode 100644 index 000000000000..8bdf7db6f66c --- /dev/null +++ b/sys-apps/usbutils/usbutils-0.80.ebuild @@ -0,0 +1,54 @@ +# 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.80.ebuild,v 1.1 2009/04/27 02:36:05 gregkh Exp $ + +inherit eutils autotools + +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="dev-libs/libusb" + # zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # put usb.ids in same place as pci.ids (/usr/share/misc) + sed -i \ + -e 's:/usr/share/usb.ids:/usr/share/misc/usb.ids:' \ + lsusb.8 || die "sed lsusb.8" + sed -e '/^DEST=/s:=usb.ids:=/usr/share/misc/usb.ids:' \ + update-usbids.sh > update-usbids + + eautoreconf +} + +src_compile() { + # robbat2 - 2007/10/29 + # zlib disabled pending a revision of update-usbids from upstream. + # $(use_enable zlib) \ + econf \ + --datadir=/usr/share/misc \ + --disable-zlib \ + || die "./configure failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + newbin "${FILESDIR}"/usbmodules.sh usbmodules || die + dosbin 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 +} |