Created
October 23, 2015 15:52
-
-
Save Wartz/73fb4d0e351fd07344b3 to your computer and use it in GitHub Desktop.
lib32-libusb-1.0.20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Sven-Hendrik Haase <[email protected]> | |
# Contributor: 3V0LU710N <db_eee-at-hotmail-dot-com> | |
pkgname=lib32-libusb | |
pkgver=1.0.20 | |
pkgrel=1 | |
pkgdesc="A cross-platform user library to access USB devices (32-bit)" | |
arch=('x86_64') | |
url="http://libusb.info/" | |
license=('LGPL') | |
depends=('lib32-glibc' 'libusb' 'lib32-systemd') | |
replaces=('lib32-libusb1' 'lib32-libusbx') | |
provides=("lib32-libusbx=$pkgver") | |
makedepends=('gcc-multilib') | |
source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2) | |
options=(!libtool) | |
md5sums=('1d4eb194eaaa2bcfbba28102768c7dbf') | |
build() { | |
export CC="gcc -m32" | |
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" | |
cd "libusb-${pkgver}" | |
./configure --prefix=/usr --libdir=/usr/lib32 --disable-static | |
make | |
} | |
package () { | |
cd "${srcdir}/libusb-${pkgver}" | |
make DESTDIR="${pkgdir}" install | |
rm -rf "${pkgdir}"/usr/include | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment