lib32/lib32-libusb-compat/PKGBUILD

35 lines
974 B
Bash
Raw Normal View History

2011-05-02 19:27:34 +08:00
# 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-compat
2012-07-22 21:15:01 +08:00
pkgver=0.1.4
2011-05-02 19:27:34 +08:00
pkgrel=1
pkgdesc="Library to enable user space application programs to communicate with USB devices (32-bit)"
arch=('x86_64')
depends=('lib32-libusb' 'libusb-compat')
makedepends=('gcc-multilib')
url="http://libusb.sourceforge.net/"
license=('LGPL')
source=(http://downloads.sourceforge.net/libusb/libusb-compat-0.1/libusb-compat-$pkgver/libusb-compat-${pkgver}.tar.bz2)
options=('!libtool')
2012-07-22 21:15:01 +08:00
md5sums=('2ca521fffadd0c28fdf174e6ec73865b')
2011-05-02 19:27:34 +08:00
build() {
cd ${srcdir}/libusb-compat-${pkgver}
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/libusb-compat-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/{bin,include}
}