summaryrefslogtreecommitdiffstats
path: root/libusb-compat/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libusb-compat/Pkgfile')
-rwxr-xr-xlibusb-compat/Pkgfile20
1 files changed, 8 insertions, 12 deletions
diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile
index cf09f67c2..1943cb918 100755
--- a/libusb-compat/Pkgfile
+++ b/libusb-compat/Pkgfile
@@ -6,19 +6,15 @@
# Run on: libusbx
name=libusb-compat
-version=0.1.3
+version=0.1.4
release=1
-source=( http://sourceforge.net/projects/libusb/files/$name-0.1/$name-$version/$name-$version.tar.bz2)
-
-
+source=(http://sourceforge.net/projects/libusb/files/$name-0.1/$name-$version/$name-$version.tar.bz2
+ libusb-0.1-libusbx.patch)
build() {
- # build package
- cd $name-$version
- ./configure --prefix=/usr\
- --disable-build-docs\
- --mandir=/usr/share/man\
- --infodir=/usr/share/info
- make
- make DESTDIR=$PKG install
+ cd $name-$version
+ patch -p0 < ../libusb-0.1-libusbx.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
}