yubikey-personalization: make manpages optional as they depend on asciidoc

This commit is contained in:
Tim Biermann 2021-06-21 09:43:25 +00:00
parent 9c1a18777d
commit 98ebf901ea
3 changed files with 7 additions and 10 deletions

View File

@ -27,9 +27,3 @@ lrwxrwxrwx root/root usr/lib/libykpers-1.so.1 -> libykpers-1.so.1.20.1
-rwxr-xr-x root/root usr/lib/libykpers-1.so.1.20.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/ykpers-1.pc
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/ykchalresp.1.gz
-rw-r--r-- root/root usr/share/man/man1/ykinfo.1.gz
-rw-r--r-- root/root usr/share/man/man1/ykpersonalize.1.gz

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36iTdAw/WkxQ0/kSXOnB+IU+WtCgs0BhkWuCT1tj85CsxsTtAsH+iGkjkVeLU6EM7XteE5I3Dh6TKZtXnANXfQM=
SHA256 (Pkgfile) = a63e7a0f8813adf6e6272bdb24af0028c8b9555cd0f350794e799b53e34f50d9
SHA256 (.footprint) = dc1779df5977edef760b98dacb76b057d39e537043b11d3687864fde0f47e10c
RWSagIOpLGJF3wMidnW5yFaW+5nuZjQaB74/lSlV9LuRjs/4tVNMN5tmnapCDsiO5xWR3NTF0LzAtohAz/YjENILPIK0gyyKpgk=
SHA256 (Pkgfile) = 9dd91bd34ddbda15a2f6e234207b7b4b8b449834c4572a253b96e5a00223bb7a
SHA256 (.footprint) = f296a0743d57885974cfefb77b0e8de638486c4917199ab3870d6781804703af
SHA256 (yubikey-personalization-1.20.0-1.tar.gz) = f91d9e206e5dc89456a8928213cf6f6302d78ff7e770e4c057e4929334069b80
SHA256 (10-security-key.rules) = e17339a66970e56dc40a53b57df322fc237d27fa4221984e1ae36b1ef27a4f2c

View File

@ -2,6 +2,7 @@
# URL: https://github.com/Yubico/yubikey-personalization
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: yubico-c-client libusb
# Optional: asciidoc
name=yubikey-personalization
version=1.20.0
@ -14,11 +15,13 @@ build() {
#cd $name-$version
cd $name-d4c1d57033a45ea51189e7818954cf62508576de
prt-get isinst asciidoc || PKGMK_YK_PERS+=' --disable-documentation'
# Fix build with json-c 0.14
sed -e 's/TRUE/1/' -e 's/FALSE/0/' -i ykpers-json.c
autoreconf --install
./configure --prefix=/usr \
./configure --prefix=/usr $PKGMK_YK_PERS \
--with-udevrulesdir=/lib/udev/rules.d/
make
make DESTDIR=$PKG install