summaryrefslogtreecommitdiff
path: root/yubico-c
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-18 22:05:34 +0000
committerTim Biermann <tbier@posteo.de>2021-06-18 22:05:57 +0000
commitc5ce7b7c8d0c0d14375394b2a741f12d2d6b1754 (patch)
tree7feac5905419032021ea15c28f6fa998b1a714da /yubico-c
parentb189b529d65591d7d02aa7d11a29d27c7bcca327 (diff)
downloadcontrib-c5ce7b7c8d0c0d14375394b2a741f12d2d6b1754.tar.gz
contrib-c5ce7b7c8d0c0d14375394b2a741f12d2d6b1754.tar.xz
yubico-c: make manpages optional as they depend on asciidoc
Diffstat (limited to 'yubico-c')
-rw-r--r--yubico-c/.footprint8
-rw-r--r--yubico-c/.signature6
-rw-r--r--yubico-c/Pkgfile10
3 files changed, 9 insertions, 15 deletions
diff --git a/yubico-c/.footprint b/yubico-c/.footprint
index d5d1f2e9b..1ff0525cd 100644
--- a/yubico-c/.footprint
+++ b/yubico-c/.footprint
@@ -3,17 +3,9 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/modhex
-rwxr-xr-x root/root usr/bin/ykgenerate
-rwxr-xr-x root/root usr/bin/ykparse
-drwxr-xr-x root/root usr/include/
--rw-r--r-- root/root usr/include/yubikey.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libyubikey.a
-rwxr-xr-x root/root usr/lib/libyubikey.la
lrwxrwxrwx root/root usr/lib/libyubikey.so -> libyubikey.so.0.1.7
lrwxrwxrwx root/root usr/lib/libyubikey.so.0 -> libyubikey.so.0.1.7
-rwxr-xr-x root/root usr/lib/libyubikey.so.0.1.7
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/man/
-drwxr-xr-x root/root usr/share/man/man1/
--rw-r--r-- root/root usr/share/man/man1/modhex.1.gz
--rw-r--r-- root/root usr/share/man/man1/ykgenerate.1.gz
--rw-r--r-- root/root usr/share/man/man1/ykparse.1.gz
diff --git a/yubico-c/.signature b/yubico-c/.signature
index 2a73ff480..c0861501c 100644
--- a/yubico-c/.signature
+++ b/yubico-c/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF31RUuwCwLaZ1V4q07taZqOM6//fdl0BpCCr4FWfQHOjN2VKCwReXIAnyVNwzcmBeZOrI9wmfwZK0kRUJc7H8hww=
-SHA256 (Pkgfile) = f0c4009c2bdbc93e2120c77bbb811f22990c006a8014ca2a3c8595d6a53db9db
-SHA256 (.footprint) = 0a4edef23b572b8f09d74ec7888ad225e0fd9b696ea42d97831b3f2b80a56eb0
+RWSagIOpLGJF31vrQI8OwgsFu40WFa97nbhqvhKByIZc4nzqaU1PZ3jR2QzI0XzwzcmV6jMXExZH3rGcMLafNOYYC9gVFj4nkw8=
+SHA256 (Pkgfile) = ce4f9e65cf9f78f80760e029529ef025ebbb19daf5580ef480edb4beebc4e530
+SHA256 (.footprint) = 0b2c6ff77c0551aaf7f1edc30dc748455c3a85e625aa7a53f9f540448153c210
SHA256 (libyubikey-1.13.tar.gz) = dd046c83e67560206b0b3301ee8053922b516e3975b895804582eb8d7bdd1d79
diff --git a/yubico-c/Pkgfile b/yubico-c/Pkgfile
index bc3db88fa..495b5ae9f 100644
--- a/yubico-c/Pkgfile
+++ b/yubico-c/Pkgfile
@@ -1,17 +1,19 @@
# Description: Yubico YubiKey C library
# URL: https://github.com/Yubico/yubico-c
# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: asciidoc
+# Depends on:
+# Optional: asciidoc
name=yubico-c
version=1.13
-release=1
+release=2
source=(https://github.com/Yubico/yubico-c/archive/libyubikey-$version.tar.gz)
build() {
cd $name-libyubikey-$version
autoreconf --install
./configure --prefix=/usr
- make
- make DESTDIR=$PKG install
+ prt-get isinst asciidoc && \
+ (make && make DESTDIR=$PKG install) || \
+ make DESTDIR=$PKG install-binPROGRAMS
}

Generated by cgit