25 lines
No EOL
723 B
Bash
25 lines
No EOL
723 B
Bash
# Template file for 'libusb'
|
|
pkgname=libusb
|
|
version=1.0.22
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="A library which allows userspace access to USB devices"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://libusb.info"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157
|
|
disable_parallel_build=yes
|
|
|
|
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"
|
|
}
|
|
} |