diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-10-29 22:47:05 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-10-29 22:47:05 +0000 |
commit | ac453f6f7cf73b42b8dde3c9217ec115b12ba73b (patch) | |
tree | 0584190894b3c2346d2af2a496ea37db4721be67 /sys-apps/usbutils | |
parent | Initial import, fixing bug #197211, thanks to Alexander Graf for submitting (diff) | |
download | gentoo-2-ac453f6f7cf73b42b8dde3c9217ec115b12ba73b.tar.gz gentoo-2-ac453f6f7cf73b42b8dde3c9217ec115b12ba73b.tar.bz2 gentoo-2-ac453f6f7cf73b42b8dde3c9217ec115b12ba73b.zip |
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r-- | sys-apps/usbutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/usbutils/files/digest-usbutils-0.73 | 3 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-0.73.ebuild | 53 |
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index 0bb91f688bc9..45dc382bb479 100644 --- a/sys-apps/usbutils/ChangeLog +++ b/sys-apps/usbutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usbutils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.60 2007/10/22 15:29:54 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.61 2007/10/29 22:47:04 robbat2 Exp $ + +*usbutils-0.73 (29 Oct 2007) + + 29 Oct 2007; Robin H. Johnson <robbat2@gentoo.org> +usbutils-0.73.ebuild: + Version bump. 22 Oct 2007; Raúl Porcel <armin76@gentoo.org> usbutils-0.72-r4.ebuild: alpha/ia64 stable wrt #195242 diff --git a/sys-apps/usbutils/files/digest-usbutils-0.73 b/sys-apps/usbutils/files/digest-usbutils-0.73 new file mode 100644 index 000000000000..d826099550b5 --- /dev/null +++ b/sys-apps/usbutils/files/digest-usbutils-0.73 @@ -0,0 +1,3 @@ +MD5 88978b4ad891f610620b1b8e5e0f43eb usbutils-0.73.tar.gz 173312 +RMD160 be693e2b759b4b778b77a3afdd80d80d26e8105f usbutils-0.73.tar.gz 173312 +SHA256 2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4 usbutils-0.73.tar.gz 173312 diff --git a/sys-apps/usbutils/usbutils-0.73.ebuild b/sys-apps/usbutils/usbutils-0.73.ebuild new file mode 100644 index 000000000000..daeb13aa4c1c --- /dev/null +++ b/sys-apps/usbutils/usbutils-0.73.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild,v 1.1 2007/10/29 22:47:04 robbat2 Exp $ + +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="dev-libs/libusb" + # zlib? ( sys-libs/zlib )" + +src_unpack() { + unpack ${A} + cd "${S}" + cp update-usbids.sh update-usbids.sh.orig + epatch "${FILESDIR}"/${PN}-0.72-update-usbids.patch + + # 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 +} + +src_compile() { + # robbat2 - 2007/10/29 + # zlib disabled pending a revision of update-usbids from upstream. + # $(use_enable zlib) \ + econf \ + --datadir=/usr/share/misc \ + --enable-usbmodules \ + --disable-zlib \ + || die "./configure failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + 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 +} |