30 lines
778 B
Bash
30 lines
778 B
Bash
# Template file for 'libusb-compat'
|
|
pkgname=libusb-compat
|
|
version=0.1.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libusb-devel"
|
|
short_desc="libusb-0.1 compatibility library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://libusb.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
|
|
checksum=698c76484f3dec1e0175067cbd1556c3021e94e7f2313ae3ea6a66d900e00827
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libusb-compat-devel_package() {
|
|
depends="libusb-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|