33 lines
840 B
Text
33 lines
840 B
Text
# Template file for 'libusbx'
|
|
pkgname=libusbx
|
|
version=1.0.16
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="libudev-devel"
|
|
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"
|
|
checksum=5b335cf9572d793da6ced55bce633894288a8ff39557f07ccc798f2cb74cb580
|
|
|
|
libusbx-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
provides="libusb-devel-${version}_${revision}"
|
|
replaces="libusb-devel>=0"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libusbx_package() {
|
|
provides="libusb-${version}_${revision}"
|
|
replaces="libusb>=0"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|