void-packages/srcpkgs/libusb-compat/template

36 lines
1,004 B
Text
Raw Normal View History

# Template file for 'libusb-compat'
pkgname=libusb-compat
2013-06-17 14:06:04 +00:00
version=0.1.5
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
2013-06-17 14:06:04 +00:00
makedepends="libusbx-devel"
short_desc="A libusb-0.1 compatibility library"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-05-07 08:33:26 +00:00
license="LGPL-2.1"
homepage="http://libusb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
2013-06-17 14:06:04 +00:00
checksum=404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a
long_desc="
$pkgname is a replacement for libusb-0.1. However, instead of being an actual
implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which
just converts libusb-0.1 calls into their libusb-1.0 equivalents."
libusb-compat-devel_package() {
depends="libusbx-devel libusb-compat>=${version}"
2013-06-17 14:06:04 +00: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
}
}
libusb-compat_package() {
pkg_install() {
vmove usr
}
}