From 9664bee729d487bcc0a0bc35859f8e13d5421c75 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 26 Sep 2012 01:10:42 +0000 Subject: Slackware 14.0 Wed Sep 26 01:10:42 UTC 2012 Slackware 14.0 x86_64 stable is released! We're perfectionists here at Slackware, so this release has been a long time a-brewing. But we think you'll agree that it was worth the wait. Slackware 14.0 combines modern components, ease of use, and flexible configuration... our "KISS" philosophy demands it. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Thanks to everyone who helped make this happen. The Slackware team, the upstream developers, and (of course) the awesome Slackware user community. Have fun! :-) --- source/a/usbutils/usbutils.SlackBuild | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'source/a/usbutils/usbutils.SlackBuild') diff --git a/source/a/usbutils/usbutils.SlackBuild b/source/a/usbutils/usbutils.SlackBuild index 163b5378..15694392 100755 --- a/source/a/usbutils/usbutils.SlackBuild +++ b/source/a/usbutils/usbutils.SlackBuild @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=${VERSION:-$(echo usbutils-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo usbutils-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:--j7} @@ -58,7 +58,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf usbutils-$VERSION -tar xvf $CWD/usbutils-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/usbutils-$VERSION.tar.xz || exit 1 cd usbutils-$VERSION || exit 1 chown -R root:root . @@ -72,19 +72,27 @@ find . \ rm -f usb.ids* wget $(grep 'SRC=' update-usbids.sh.in | cut -d= -f2- | tr -d \") +# Use --datadir=/usr/share/hwdata so usb.ids is expected to be there CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sbindir=/sbin \ --mandir=/usr/man \ + --datadir=/usr/share/hwdata \ --build=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # Get rid of this redundant file: -rm -f $PKG/usr/share/usb.ids.gz +rm -f $PKG/usr/share/hwdata/usb.ids.gz + +## Use the usb.ids file shipped with the hwdata package +#rm -f $PKG/usr/share/hwdata/usb.ids* + +# Put a compat symlink in place for stuff that doesn't know about pkgconfig +ln -s hwdata/usb.ids $PKG/usr/share/usb.ids # The usbids are kept under /usr, so it makes no sense at all to have # this util in /sbin rather than /usr/sbin: @@ -100,10 +108,6 @@ mv $PKG/sbin/update-usbids.sh $PKG/usr/sbin/update-usbids.sh # upstream name available there too... ( cd $PKG/sbin ; ln -sf /usr/sbin/update-usbids.sh . ) -# Move the pkgconfig directory to @libdir@ instead of @datadir@ -mkdir $PKG/usr/lib${LIBDIRSUFFIX} -mv $PKG/usr/share/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX} - find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -- cgit v1.2.3