25 lines
705 B
Bash
25 lines
705 B
Bash
# Template file for 'libusb'
|
|
pkgname=libusb
|
|
version=1.0.21
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://libusb.info"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b
|
|
disable_parallel_build=yes
|
|
|
|
libusb-devel_package() {
|
|
depends="libusb>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|