blob: d36933b66bf4f737e42eb033f1e94ae4f44a7b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=libusb-compat
pkgver=0.1.3
pkgrel=0
pkgdesc="Compatibility library for use by user level applications to access USB devices regardless of OS"
url="http://www.libusb.org/"
license="LGPL v2.1"
depends=
makedepends="libusb-dev"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="570ac2ea085b80d1f74ddc7c6a93c0eb libusb-compat-0.1.3.tar.bz2"
|