summaryrefslogtreecommitdiffstats
path: root/main/libusb
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:10:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:10:48 +0000
commitc3d89f6bda6563c19a79c81713014bb230cd9d4f (patch)
treef74c469793954fe7fdfc62a0caad1396e8394fe1 /main/libusb
parentc862a3c22e4eff371ea49b43624cdfa4dfbbacd6 (diff)
downloadaports-c3d89f6bda6563c19a79c81713014bb230cd9d4f.tar.bz2
aports-c3d89f6bda6563c19a79c81713014bb230cd9d4f.tar.xz
main/libusb: remove *.la
Diffstat (limited to 'main/libusb')
-rw-r--r--main/libusb/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD
index 9a4e4e606..d9c58aa60 100644
--- a/main/libusb/APKBUILD
+++ b/main/libusb/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb
pkgver=1.0.8
-pkgrel=2
+pkgrel=3
pkgdesc="Library to enable user space application programs to communicate with USB devices"
url="http://libusb.sourceforge.net/"
arch="all"
@@ -11,11 +11,15 @@ depends=""
makedepends=""
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr --disable-build-docs
make || return 1
- make DESTDIR="$pkgdir" install
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="37d34e6eaa69a4b645a19ff4ca63ceef libusb-1.0.8.tar.bz2"