lib32/lib32-libusbx/PKGBUILD

37 lines
979 B
Bash
Raw Normal View History

2012-09-12 22:53:11 +08:00
# Lib32 packages for Chakra
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor from AUR: 3V0LU710N <db_eee-at-hotmail-dot-com>
_pkgbase=libusbx
pkgname=lib32-${_pkgbase}
2012-11-23 05:50:02 +08:00
pkgver=1.0.14
2012-09-12 22:53:11 +08:00
pkgrel=1
pkgdesc="Library to enable user space application programs to communicate with USB devices. (32-bit). libusb fork."
arch=('x86_64')
url="http://libusbx.sourceforge.net/"
license=('LGPL')
depends=('lib32-glibc' "${_pkgbase}")
makedepends=('gcc-multilib')
provides=('lib32-libusb')
conflicts=('lib32-libusb')
replaces=('lib32-libusb')
source=(http://downloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2)
options=(!libtool)
2012-11-23 05:50:02 +08:00
md5sums=('0a6a75edb4b4eae7dc82c1dd71ddc470')
2012-09-12 22:53:11 +08:00
build() {
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "libusbx-${pkgver}"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package () {
cd "${srcdir}/libusbx-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf ${pkgdir}/usr/include
2012-11-23 05:50:02 +08:00
}