summaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/APKBUILD
blob: 1fc06cafdf3cbe3a2ddf7d91780b34255ddb9822 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.3
pkgrel=1
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
}
md5sums="570ac2ea085b80d1f74ddc7c6a93c0eb  libusb-compat-0.1.3.tar.bz2"