2012-03-19 12:49:39 +01:00
|
|
|
# Template file for 'libgusb'
|
|
|
|
pkgname=libgusb
|
2013-03-28 16:53:53 +01:00
|
|
|
version=0.1.6
|
2012-11-13 11:22:27 +01:00
|
|
|
revision=1
|
2012-03-19 12:49:39 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-03-28 16:53:53 +01:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
|
|
|
makedepends="libusb-devel libgudev-devel"
|
2012-03-19 12:49:39 +01:00
|
|
|
short_desc="GLib wrapper around libusb1"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="https://gitorious.org/gusb/"
|
|
|
|
license="LGPL-2.1"
|
2012-11-13 11:22:27 +01:00
|
|
|
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
|
2013-03-28 16:53:53 +01:00
|
|
|
checksum=900103ff24a851ef8395b992236ced0aedb4c265ef2264f6ad8349300095198b
|
2012-03-19 12:49:39 +01:00
|
|
|
long_desc="
|
|
|
|
GUsb is a GObject wrapper for libusb1 that makes it easy to do
|
|
|
|
asynchronous control, bulk and interrupt transfers with proper
|
|
|
|
cancellation and integration into a mainloop.
|
|
|
|
This makes it easy to integrate low level USB transfers with your
|
|
|
|
high-level application or system daemon."
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libgusb-devel_package() {
|
|
|
|
depends="libudev-devel ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgusb_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|