summaryrefslogtreecommitdiffstats
path: root/libusb-compat/Pkgfile
blob: dbccd609a5ddf34fb1383a654a3d1976efd3dc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
description="Compatibility library for libusb 1.0."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://libusb.sourceforge.net/"
depends=(libusb)

name=libusb-compat
version=0.1.3
release=2
source=(http://downloads.sourceforge.net/project/libusb/$name-${version%\.*}/$name-$version/$name-$version.tar.bz2)
build () 
{ 
	cd $name-$version;
	./configure --prefix=$prefix --mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
	install -d $PKG/lib;
	mv $PKG$prefix/lib/libusb*.so.* $PKG/lib;
	ln -sf ../../lib/libusb-0.1.so.4.4.4 $PKG$prefix/lib/libusb.so
}