a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
25 lines
746 B
Bash
25 lines
746 B
Bash
# Template file for 'libusb'
|
|
pkgname=libusb
|
|
version=1.0.24
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="Library which allows userspace access to USB devices"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://libusb.info"
|
|
distfiles="https://github.com/libusb/libusb/releases/download/v${version}/libusb-${version}.tar.bz2"
|
|
checksum=7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a
|
|
patch_args=-Np0
|
|
|
|
libusb-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove /usr/include
|
|
vmove /usr/lib/pkgconfig
|
|
vmove "/usr/lib/*.a"
|
|
vmove "/usr/lib/*.so"
|
|
}
|
|
}
|