New package: hidapi-0.8.0rc1.

This commit is contained in:
Juan RP 2015-10-22 08:40:34 +02:00
parent ae3431ccd9
commit fc6e71c309
3 changed files with 38 additions and 0 deletions

View file

@ -2235,3 +2235,5 @@ libboinc_api.so.7 boinc-nox-7.6.2_1
libboinc_graphics2.so.7 boinc-nox-7.6.2_1 libboinc_graphics2.so.7 boinc-nox-7.6.2_1
libbson-1.0.so.0 libbson-1.2.0_1 libbson-1.0.so.0 libbson-1.2.0_1
libsynfig.so.0 synfig-1.0.1_1 libsynfig.so.0 synfig-1.0.1_1
libhidapi-hidraw.so.0 hidapi-0.8.0rc1_1
libhidapi-libusb.so.0 hidapi-0.8.0rc1_1

1
srcpkgs/hidapi-devel Symbolic link
View file

@ -0,0 +1 @@
hidapi

35
srcpkgs/hidapi/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'hidapi'
pkgname=hidapi
_distver=0.8.0
_patchver=rc1
version=${_distver}${_patchver}
revision=1
wrksrc="${pkgname}-${pkgname}-${_distver}-${_patchver}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libudev-devel libusb-devel"
short_desc="A Simple library for communicating with USB and Bluetooth HID devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://www.signal11.us/oss/hidapi/"
distfiles="https://github.com/signal11/hidapi/archive/hidapi-${_distver}-${_patchver}.tar.gz"
checksum=3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61
pre_configure() {
NOCONFIGURE=1 ./bootstrap
}
post_install() {
rm -r ${DESTDIR}/usr/share
vlicense LICENSE-bsd.txt LICENSE
}
hidapi-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}