yubico-c: make manpages optional as they depend on asciidoc

This commit is contained in:
Tim Biermann 2021-06-18 22:05:34 +00:00
parent b189b529d6
commit c5ce7b7c8d
3 changed files with 9 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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
}