2013-05-22 07:29:31 +00:00
|
|
|
# Template file for 'libusbx'
|
|
|
|
pkgname=libusbx
|
2013-12-04 08:38:59 +00:00
|
|
|
version=1.0.17
|
2013-05-22 07:29:31 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2013-07-13 05:10:53 +00:00
|
|
|
makedepends="libudev-devel"
|
2013-05-22 07:29:31 +00:00
|
|
|
short_desc="Library that provides generic access to USB devices"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://libusbx.org"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2013-12-04 08:38:59 +00:00
|
|
|
checksum=876f8d2c3fee73840a89cb78f3e384c0ab73a67f9155a010b1a5a73ece5145b8
|
2013-05-22 07:29:31 +00:00
|
|
|
|
|
|
|
libusbx-devel_package() {
|
2013-12-04 08:38:59 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-05-22 07:29:31 +00:00
|
|
|
provides="libusb-devel-${version}_${revision}"
|
|
|
|
replaces="libusb-devel>=0"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-13 05:08:53 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-05-22 07:29:31 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libusbx_package() {
|
|
|
|
provides="libusb-${version}_${revision}"
|
|
|
|
replaces="libusb>=0"
|
|
|
|
pkg_install() {
|
2013-12-04 08:38:59 +00:00
|
|
|
vmove all
|
2013-05-22 07:29:31 +00:00
|
|
|
}
|
|
|
|
}
|