summaryrefslogtreecommitdiffstats
path: root/libusb-compat/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /libusb-compat/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'libusb-compat/Pkgfile')
-rw-r--r--libusb-compat/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/libusb-compat/Pkgfile b/libusb-compat/Pkgfile
new file mode 100644
index 0000000..9c689a2
--- /dev/null
+++ b/libusb-compat/Pkgfile
@@ -0,0 +1,20 @@
+description="Compatibility library for libusb 1.0"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://libusb.sourceforge.net/"
+depends=(libusb)
+
+name=libusb-compat
+version=0.1.3
+release=2
+source=(http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.3/libusb-compat-0.1.3.tar.bz2)
+build ()
+{
+ cd $name-$version;
+ ./configure --prefix=/usr;
+ make;
+ make DESTDIR=$PKG install;
+ install -d $PKG/lib;
+ mv $PKG/usr/lib/libusb*.so.* $PKG/lib;
+ ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG/usr/lib/libusb.so
+}