mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
26 lines
677 B
Plaintext
26 lines
677 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libusb
|
|
pkgver=1.0.8
|
|
pkgrel=3
|
|
pkgdesc="Library to enable user space application programs to communicate with USB devices"
|
|
url="http://libusb.sourceforge.net/"
|
|
arch="all"
|
|
license="LGPL"
|
|
subpackages="$pkgname-dev"
|
|
depends=""
|
|
makedepends=""
|
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-build-docs
|
|
make || return 1
|
|
}
|
|
|
|
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"
|