From b2452e8ce2fdd82f8d742954e4cdbbc301ede731 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 Mar 2012 12:49:39 +0100 Subject: [PATCH] New package: libgusb-0.1.3. --- common/shlibs | 1 + srcpkgs/libgusb-devel | 1 + srcpkgs/libgusb/depends | 2 ++ srcpkgs/libgusb/libgusb-devel.template | 16 ++++++++++++++++ srcpkgs/libgusb/libgusb.rshlibs | 10 ++++++++++ srcpkgs/libgusb/template | 22 ++++++++++++++++++++++ 6 files changed, 52 insertions(+) create mode 120000 srcpkgs/libgusb-devel create mode 100644 srcpkgs/libgusb/depends create mode 100644 srcpkgs/libgusb/libgusb-devel.template create mode 100644 srcpkgs/libgusb/libgusb.rshlibs create mode 100644 srcpkgs/libgusb/template diff --git a/common/shlibs b/common/shlibs index d086e454488..2df9f22a388 100644 --- a/common/shlibs +++ b/common/shlibs @@ -971,3 +971,4 @@ libdom.so.0 libdom libdom-devel liblutok.so.0 lutok lutok-devel libmtdev.so.1 mtdev mtdev-devel libcryptsetup.so.4 libcryptsetup cryptsetup-devel +libgusb.so.2 libgusb libgusb-devel diff --git a/srcpkgs/libgusb-devel b/srcpkgs/libgusb-devel new file mode 120000 index 00000000000..b3c0408e368 --- /dev/null +++ b/srcpkgs/libgusb-devel @@ -0,0 +1 @@ +libgusb \ No newline at end of file diff --git a/srcpkgs/libgusb/depends b/srcpkgs/libgusb/depends new file mode 100644 index 00000000000..6f02f456795 --- /dev/null +++ b/srcpkgs/libgusb/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.1.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgusb/libgusb-devel.template b/srcpkgs/libgusb/libgusb-devel.template new file mode 100644 index 00000000000..6f9b4c9478b --- /dev/null +++ b/srcpkgs/libgusb/libgusb-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libgusb-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains the libgudev development files (static libs, headers, + etc), a library to interact with udev through the GLib bindings." + +Add_dependency run libudev-devel +Add_dependency run libgusb + +do_install() { + vmove usr/include usr + vmove usr/share usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/libgusb/libgusb.rshlibs b/srcpkgs/libgusb/libgusb.rshlibs new file mode 100644 index 00000000000..fb2308a03c8 --- /dev/null +++ b/srcpkgs/libgusb/libgusb.rshlibs @@ -0,0 +1,10 @@ +libgio-2.0.so.0 +libgmodule-2.0.so.0 +libusb-1.0.so.0 +libgudev-1.0.so.0 +libgobject-2.0.so.0 +libgthread-2.0.so.0 +librt.so.1 +libglib-2.0.so.0 +libpthread.so.0 +libc.so.6 diff --git a/srcpkgs/libgusb/template b/srcpkgs/libgusb/template new file mode 100644 index 00000000000..2227f53a56e --- /dev/null +++ b/srcpkgs/libgusb/template @@ -0,0 +1,22 @@ +# Template file for 'libgusb' +pkgname=libgusb +version=0.1.3 +distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz" +build_style=gnu-configure +configure_args="--disable-static" +short_desc="GLib wrapper around libusb1" +maintainer="Juan RP " +homepage="https://gitorious.org/gusb/" +license="LGPL-2.1" +checksum=4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6 +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." + +subpackages="${pkgname}-devel" +Add_dependency build pkg-config +Add_dependency build libusb-devel +Add_dependency build libgudev-devel