mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-26 07:52:32 +01:00
35 lines
756 B
Plaintext
35 lines
756 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libusb
|
|
pkgver=1.0.27
|
|
pkgrel=0
|
|
pkgdesc="Library that enables userspace access to USB devices"
|
|
url="https://libusb.info/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
subpackages="$pkgname-dev"
|
|
replaces="libusbx"
|
|
makedepends="linux-headers"
|
|
source="https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-udev \
|
|
--enable-static
|
|
make -j1
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
42abbbcf2564f86cc2f05826aeefa6beb03c9f89dc9fe05bdfa351caa3dbd07713ce193daadecf29557604dd3cbc770c8031a78e1ad0a8df3627c3f551d28ff0 libusb-1.0.27.tar.bz2
|
|
"
|