aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/APKBUILD
blob: eeacc1024368dc0cca393b4244ae060307a2eac2 (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=0
pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
arch="x86 x86_64"
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"