mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
libusbx added, replacing libsub
This commit is contained in:
parent
16063853e8
commit
18b94474b2
36
lib32-libusbx/PKGBUILD
Normal file
36
lib32-libusbx/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user