diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-26 10:49:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-26 10:49:58 +0000 |
commit | 86a12e6335c3a460a01783d62403879c14b88dd8 (patch) | |
tree | 13311dc3b05b2d0829060ffdec9b4df0bdc63e9a /sys-apps/usbutils | |
parent | Version bump. Bug #360007. Thanks to Denny (diff) | |
download | historical-86a12e6335c3a460a01783d62403879c14b88dd8.tar.gz historical-86a12e6335c3a460a01783d62403879c14b88dd8.tar.bz2 historical-86a12e6335c3a460a01783d62403879c14b88dd8.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r-- | sys-apps/usbutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/usbutils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-002.ebuild | 56 |
3 files changed, 65 insertions, 2 deletions
diff --git a/sys-apps/usbutils/ChangeLog b/sys-apps/usbutils/ChangeLog index bbfd9171eece..d1a9b7bac3c8 100644 --- a/sys-apps/usbutils/ChangeLog +++ b/sys-apps/usbutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usbutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.112 2011/01/09 16:16:50 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/ChangeLog,v 1.113 2011/03/26 10:49:58 ssuominen Exp $ + +*usbutils-002 (26 Mar 2011) + + 26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> +usbutils-002.ebuild: + Version bump. 09 Jan 2011; Raúl Porcel <armin76@gentoo.org> usbutils-0.90.ebuild: ia64/m68k/s390/sh stable wrt #342525 diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index 2723d8bad93b..77c6aeb92d91 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -5,8 +5,10 @@ DIST usbutils-0.90.tar.gz 259357 RMD160 fd2efb2a51704df0365aaae2233d1d2a6e666b9a DIST usbutils-0.91-libusb1.tar.bz2 10327 RMD160 69d4ab82fca5a9d16c57056df835dbd4bc85565a SHA1 7444434233c262756039a7bd3fb746d55ad47cdf SHA256 e37262783a84e08b1fa06404f01c94cef2400119529478882dd5daf88dfa5860 DIST usbutils-0.91.tar.gz 551505 RMD160 44d8837c6fde27b81a575b0a1d1b3bb239bb54bd SHA1 626494f2b28ad649671e0997405f5e558d733f52 SHA256 c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46 DIST usbutils-001.tar.gz 577495 RMD160 a72fd0fc3a5a508c5a0100ba4396c05791ec61f3 SHA1 4469a310cc1b90fd5464491a6c1535a48ecd2ab6 SHA256 82f7d0f70aec413856ea4471aaa25b09bad624d9bd78c6a5f4801180371f1cdb +DIST usbutils-002.tar.gz 582920 RMD160 a6ded421dec0a3d90645376ed97e677ae5e2feeb SHA1 3da3a3f76823537b71342996a4b4b7a036c41f83 SHA256 4d407ad69e6114511bce16f76620f22b2ea62c5a122b81202439761203d3de5b EBUILD usbutils-0.90.ebuild 1231 RMD160 48c0cd8be62d4a8f526e48ea1c997ff318a32a69 SHA1 74081f36af5d472b3cdd5a4a1ee4ac9a6997a81e SHA256 84174e9c2151f2b5e6315f1db88ae6b58760d03aba9f0ea8f5ccee5a1c2e21f8 EBUILD usbutils-0.91-r1.ebuild 1167 RMD160 002d5aac067412c59c0a51dd9397882d0d8375d9 SHA1 6cd4f4dd3ec9940edacc0a4b5bb8e01b98c14a36 SHA256 2f89e45877dccd2883d4b1fa53a8d30211f587ba004ea9edbed0d14ee3e60b99 EBUILD usbutils-001.ebuild 1038 RMD160 24ae74e572cef7478f1390b9d4118444cdce7559 SHA1 069fe451d96ab962981578ec62f4502eb18e32e7 SHA256 5e90b2bd29ec03e8466e0a2523d869fc0c432d5b265ce738a41a64d0bec3fa48 -MISC ChangeLog 14616 RMD160 c50741c334b139122714a021a15ceeb7ecd3127f SHA1 2ce6728efaa420afdda675a88616fe0f6c3a5f2b SHA256 38c0c131b21aedc77d322fb11726f1831357819d32ef128e773801c251d95f29 +EBUILD usbutils-002.ebuild 1381 RMD160 8068d08dc8b45f2e2d4b7d1abd094d07008bec37 SHA1 628c854170c7b96fec2852bf553049d4fed64b22 SHA256 d0490f93ff043a8aafd469863eacf2671107288b13c094d589266b93cb9bda4c +MISC ChangeLog 14740 RMD160 35f43efac9870641cca55efcdafe9fc6c7dc0c1c SHA1 74a166a43a577f927b56d80da400809c8c8cee51 SHA256 d69f958abf8f8175829759871b2507c61813b8c0b2cc94e10dcc8c1a3b1df1a4 MISC metadata.xml 252 RMD160 cf5c2f72c68d4127a9eaa80c8c8a670dc5c141e6 SHA1 7289fac4ca3f1c6928224df39540dff5c8f0ddf4 SHA256 73bd60d4faf2d4cf923e02b80d531ced8e01c581fc8ae3d7271ae5abd6b14b91 diff --git a/sys-apps/usbutils/usbutils-002.ebuild b/sys-apps/usbutils/usbutils-002.ebuild new file mode 100644 index 000000000000..24bad2e16239 --- /dev/null +++ b/sys-apps/usbutils/usbutils-002.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-002.ebuild,v 1.1 2011/03/26 10:49:58 ssuominen Exp $ + +EAPI="3" + +PYTHON_DEPEND="python? 2:2.6" + +inherit python + +DESCRIPTION="USB enumeration utilities" +HOMEPAGE="http://linux-usb.sourceforge.net/" +SRC_URI="mirror://kernel/linux/utils/usb/usbutils/${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 python zlib" + +RDEPEND="virtual/libusb:1 + zlib? ( sys-libs/zlib )" +DEPEND="${DEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + if use python; then + python_convert_shebangs 2 lsusb.py + sed -i -e '/^usbids/s:/usr/share:/usr/share/misc:' lsusb.py || die + fi +} + +src_configure() { + econf \ + --datarootdir=/usr/share \ + --datadir=/usr/share/misc \ + $(use_enable zlib) +} + +src_install() { + emake DESTDIR="${D}" install || die + use python || rm -f "${D}"/usr/bin/lsusb.py + mv "${D}"/usr/sbin/update-usbids{.sh,} || die + newbin "${FILESDIR}"/usbmodules.sh usbmodules || die + dodoc AUTHORS ChangeLog NEWS README + + use network-cron || return 0 + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/usbutils.cron update-usbids || die +} |