void-packages/srcpkgs/libusb-compat/template

26 lines
716 B
Bash
Raw Normal View History

# Template file for 'libusb-compat'
pkgname=libusb-compat
2013-06-17 16:06:04 +02:00
version=0.1.5
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libusb-devel"
short_desc="A libusb-0.1 compatibility library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-05-07 10:33:26 +02:00
license="LGPL-2.1"
homepage="http://libusb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
2013-06-17 16:06:04 +02:00
checksum=404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a
libusb-compat-devel_package() {
depends="libusb-devel ${sourcepkg}>=${version}_${revision}"
2013-06-17 16:06:04 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}