From e138aeddeb04070f640119d42fa6abaf233753a8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 16 Aug 2013 07:47:45 +0000 Subject: main/libusbx: new aport replaces libusb --- main/libusbx/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 main/libusbx/APKBUILD diff --git a/main/libusbx/APKBUILD b/main/libusbx/APKBUILD new file mode 100644 index 0000000000..362fe4bd35 --- /dev/null +++ b/main/libusbx/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Natanael Copa +pkgname=libusbx +pkgver=1.0.16 +_ver=${pkgver/_/-} +pkgrel=0 +pkgdesc="Library to enable user space application programs to communicate with USB devices" +url="http://libusb.sourceforge.net/" +arch="all" +license="LGPL2+" +subpackages="$pkgname-dev" +depends="" +makedepends="udev-dev" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$_ver +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 +} +md5sums="7f5715d624cd6c26b30a317eb6c2fe5e libusbx-1.0.16.tar.bz2" +sha256sums="5b335cf9572d793da6ced55bce633894288a8ff39557f07ccc798f2cb74cb580 libusbx-1.0.16.tar.bz2" +sha512sums="a92fd006afab80c051edc725105bbf1c7b79bdc050fde750d81bf050195e1f19be6217682c0cdf047754eed1be5848c915aac3d5364acc72a8324ce0f8b9e698 libusbx-1.0.16.tar.bz2" -- cgit v1.2.3