mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 03:47:16 +02:00
upstream rebuild the release tarball without changing version. https://github.com/libusb/libusb-compat-0.1/issues/28#issuecomment-1759400548 switch to .tar.gz so we avoid distfiles cache problems
32 lines
752 B
Text
32 lines
752 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libusb-compat
|
|
pkgver=0.1.8
|
|
pkgrel=2
|
|
pkgdesc="Compatility for older libusb"
|
|
url="https://libusb.info/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
subpackages="$pkgname-dev"
|
|
depends="libusb"
|
|
makedepends="autoconf automake linux-headers libtool libusb-dev"
|
|
source="https://github.com/libusb/libusb-compat-0.1/releases/download/v$pkgver/libusb-compat-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
0f935b89d06a8ffd6c87b03d649b1136a0f84110874d1b8d071a0af922b9b2f911143670fc9297309053f29ba02e1714fa4f4bdd8b71c26dbaf32146699fcf34 libusb-compat-0.1.8.tar.gz
|
|
"
|