void-packages/srcpkgs/libusb/template
2018-03-26 23:38:26 +02:00

25 lines
No EOL
722 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="Juan RP <xtraeme@voidlinux.eu>"
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"
}
}