mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 09:22:17 +08:00
now it is libusbx
This commit is contained in:
parent
838d7b3fd0
commit
86f4fc81a2
@ -1,35 +0,0 @@
|
||||
# Lib32 Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=lib32-libusb
|
||||
pkgver=1.0.8
|
||||
pkgrel=1
|
||||
pkgdesc="Library to enable user space application programs to communicate with USB devices. (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="http://libusb.sourceforge.net/"
|
||||
license=('LGPL')
|
||||
depends=('lib32-glibc' 'libusb')
|
||||
makedepends=('gcc-multilib')
|
||||
source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
|
||||
options=(!libtool)
|
||||
md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/libusb-${pkgver}"
|
||||
|
||||
export CC="gcc -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
./configure --prefix=/usr --libdir=/usr/lib32
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "${srcdir}/libusb-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf ${pkgdir}/usr/include
|
||||
}
|
Loading…
Reference in New Issue
Block a user