From c5652af06b6f5117e486d9ed81c4816bb933cbfe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Apr 2012 15:49:07 +0200 Subject: [PATCH] libusb: update to 1.0.9. --- srcpkgs/libusb/libusb-devel.template | 12 +++++------- srcpkgs/libusb/template | 7 ++++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/srcpkgs/libusb/libusb-devel.template b/srcpkgs/libusb/libusb-devel.template index ae519b7a3b..9746c9cc10 100644 --- a/srcpkgs/libusb/libusb-devel.template +++ b/srcpkgs/libusb/libusb-devel.template @@ -6,12 +6,10 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." Add_dependency run glibc-devel -Add_dependency run libusb +Add_dependency run libusb ">=${version}" -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +do_install() { + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib + vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/libusb/template b/srcpkgs/libusb/template index 60eb921269..6943f021e5 100644 --- a/srcpkgs/libusb/template +++ b/srcpkgs/libusb/template @@ -1,12 +1,13 @@ # Template file for 'libusb' pkgname=libusb -version=1.0.8 +version=1.0.9 +homepage="http://libusb.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu-configure -revision=1 short_desc="A library which allows userspace access to USB devices" maintainer="Juan RP " -checksum=21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9 +license="LGPL-2.1" +checksum=e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b long_desc=" This package provides a way for applications to access USB devices."