void-packages/srcpkgs/libusb/template

27 lines
733 B
Plaintext
Raw Normal View History

# Template file for 'libusb'
pkgname=libusb
version=1.0.18
2014-04-05 01:00:11 +02:00
revision=3
2014-01-26 16:59:22 +01:00
replaces="libusbx>=0"
2014-01-11 16:36:29 +01:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libudev-devel"
short_desc="A library which allows userspace access to USB devices"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-04-28 15:49:07 +02:00
license="LGPL-2.1"
homepage="http://libusb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=c73f5cec45a5de94418da4e151b7232958571926984acfb9bce02b9424e83720
libusb-devel_package() {
2014-01-26 16:59:22 +01:00
replaces="libusbx-devel>=0"
2014-01-11 16:36:29 +01:00
depends="libusb>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2014-01-11 16:36:29 +01:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}