aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/APKBUILD
blob: c800b9747f5d00bacdf95dd8b33036fea6a4a8ff (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb-compat
pkgver=0.1.5
pkgrel=4
pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
subpackages="$pkgname-dev"
depends=
makedepends="libusb-dev"
source="https://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2
	fix-headers.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857  libusb-compat-0.1.5.tar.bz2
3abb7e90299f6cdb397b4fcf1b7af0bfc20cc3b0937e0787716109608313bc988ce3532ed88ba4d05e7d57bdaca3de4b5ce704e0a3d4bf871c48ac03103a18d7  fix-headers.patch"