hidapi: Rebuild. Enable static library
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=hidapi
|
||||
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
_pre=rc1
|
||||
pkgver=0.8.0${_pre}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Library for communicating with USB and Bluetooth HID devices (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://www.signal11.us/oss/hidapi/"
|
||||
@@ -29,13 +28,12 @@ build() {
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-static \
|
||||
--disable-testgui
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
#rm -r "$pkgdir/usr/${_arch}/share"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user