mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:37:13 +08:00
23 lines
560 B
Bash
23 lines
560 B
Bash
|
|
pkgname=libusb-compat
|
|
pkgver=0.1.5
|
|
pkgrel=1
|
|
depends=('libusbx' 'sh')
|
|
pkgdesc="Library to enable user space application programs to communicate with USB devices."
|
|
arch=('x86_64')
|
|
url="http://libusb.sourceforge.net/"
|
|
license=('LGPL')
|
|
source=(http://downloads.sourceforge.net/libusb/libusb-compat-0.1/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('2780b6a758a1e2c2943bdbf7faf740e4')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|