summaryrefslogtreecommitdiff
path: root/user/libusb/APKBUILD
blob: 80e8d0dd69822f12ff0295cb9a86b50294990793 (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
24
25
26
27
28
29
30
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libusb
pkgver=1.0.23
pkgrel=0
pkgdesc="Library for USB device communication"
url="https://libusb.info/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="eudev-dev linux-headers"
subpackages="$pkgname-dev"
source="https://github.com/libusb/libusb/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="73430ad31dd405e76a9c6c55086961003989c44964e2735b5076f9ca849e3f6fe71d10a66b74b111f0c34a0d2cb744b9ca105863c552123fce4ec0bbdd2ec15b  libusb-1.0.23.tar.bz2"