libusb-compat: -devel pkg depends on libusb.

This commit is contained in:
Juan RP 2013-06-22 07:58:40 +02:00
parent aac4cbb766
commit db54cf7526
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libusb-compat' # Template file for 'libusb-compat'
pkgname=libusb-compat pkgname=libusb-compat
version=0.1.5 version=0.1.5
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libusbx-devel" makedepends="libusbx-devel"
@ -17,12 +17,13 @@ long_desc="
just converts libusb-0.1 calls into their libusb-1.0 equivalents." just converts libusb-0.1 calls into their libusb-1.0 equivalents."
libusb-compat-devel_package() { libusb-compat-devel_package() {
depends="libusb-compat>=${version}" depends="libusbx-devel libusb-compat>=${version}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin vmove usr/bin
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
} }
} }