blob: f0f66778eeb0bd261c64d837cb14105cd1e7dc2d (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.4
pkgrel=0
pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev"
depends=
makedepends="libusb-dev"
depends_dev="libusb-dev"
source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr --disable-build-docs
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="2ca521fffadd0c28fdf174e6ec73865b libusb-compat-0.1.4.tar.bz2"
|