mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libusbx
|
|
pkgver=1.0.17
|
|
_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"
|
|
replaces="libusb"
|
|
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="99467ca2cb81c19c4a172de9f30e7576 libusbx-1.0.17.tar.bz2"
|
|
sha256sums="876f8d2c3fee73840a89cb78f3e384c0ab73a67f9155a010b1a5a73ece5145b8 libusbx-1.0.17.tar.bz2"
|
|
sha512sums="fddde538197707e6a97a6ddefab0deeba67f93def1694dac8379589d442c707f8319b1bd9fae6587b25ddaa92ce7894f3ec2e65ddfc031697c15e4c65d251d31 libusbx-1.0.17.tar.bz2"
|