aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/APKBUILD
blob: 3ebdb27749916c750ef64bda59f1aaa0a0fd1a61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.0
pkgrel=0
pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
license="LGPL"
subpackages="$pkgname-dev"
depends=
makedepends="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="652e1d9e6c6912fd924a5ad204f6d48b  libusb-compat-0.1.0.tar.bz2"