New package: libu2f-host-1.0.0.
This commit is contained in:
parent
6b78a655ab
commit
df7ca37918
4 changed files with 48 additions and 0 deletions
|
@ -2237,3 +2237,4 @@ libbson-1.0.so.0 libbson-1.2.0_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
|
||||
libu2f-host.so.0 libu2f-host-1.0.0_1
|
||||
|
|
1
srcpkgs/libu2f-host-devel
Symbolic link
1
srcpkgs/libu2f-host-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libu2f-host
|
15
srcpkgs/libu2f-host/patches/disable-help2man.patch
Normal file
15
srcpkgs/libu2f-host/patches/disable-help2man.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/Makefile.am.orig 2015-10-22 09:13:22.528361894 +0200
|
||||
+++ src/Makefile.am 2015-10-22 09:13:45.520587919 +0200
|
||||
@@ -31,12 +31,3 @@ cmdline.c cmdline.h: cmdline.ggo Makefil
|
||||
|
||||
BUILT_SOURCES = cmdline.c cmdline.h
|
||||
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
|
||||
-
|
||||
-dist_man_MANS = u2f-host.1
|
||||
-DISTCLEANFILES = $(dist_man_MANS)
|
||||
-
|
||||
-u2f-host.1: $(srcdir)/u2f-host.c $(srcdir)/cmdline.ggo $(top_srcdir)/configure.ac
|
||||
- $(AM_V_GEN)$(HELP2MAN) \
|
||||
- --output=$@ $(builddir)/u2f-host$(EXEEXT) \
|
||||
- --name="Yubico Universal 2nd Factor (U2F) Host Tool" \
|
||||
- --no-info
|
31
srcpkgs/libu2f-host/template
Normal file
31
srcpkgs/libu2f-host/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'libu2f-host'
|
||||
pkgname=libu2f-host
|
||||
version=1.0.0
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-openssl=yes --with-udevrulesdir=/usr/lib/udev/rules.d"
|
||||
hostmakedepends="automake libtool pkg-config gengetopt"
|
||||
makedepends="json-c-devel hidapi-devel libressl-devel"
|
||||
short_desc="C library and command-line tool that implements the host-side of the U2F protocol"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="LGPL-2.1"
|
||||
homepage="https://developers.yubico.com/libu2f-host/"
|
||||
distfiles="https://github.com/Yubico/libu2f-host/archive/libu2f-host-${version}.tar.gz"
|
||||
checksum=b1d2193eab69e1880e4adc07398f7fd5db19248ae84ef7981aa98a3fe4c411db
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
libu2f-host-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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue