Commit 18b94474 authored by Neophytos's avatar Neophytos
Browse files

libusbx added, replacing libsub

parent 16063853
# 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}
pkgver=1.0.12
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)
md5sums=('c41352ac755c7992edfcbb2ea4ad1349')
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
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment