pcsc-ccid: install examples in usr/libexec

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-02-02 18:13:52 +01:00
parent 9bce8c2b7c
commit 1fca15124a
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -1,7 +1,7 @@
# Template file for 'pcsc-ccid'
pkgname=pcsc-ccid
version=1.4.30
revision=1
revision=2
wrksrc="ccid-${version}"
build_style=gnu-configure
configure_args="--enable-udev --enable-twinserial"
@ -31,14 +31,15 @@ pcsc-ccid-contrib_package() {
vman contrib/RSA_SecurID/RSA_SecurID_getpasswd.1
}
}
pcsc-ccid-examples_package() {
short_desc+=" - examples"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/share/${sourcepkg}/examples
vmkdir usr/libexec/${sourcepkg}/examples
rm examples/*.o
for f in $(find ${wrksrc}/examples -maxdepth 1 -type f); do
vcopy $f usr/share/${sourcepkg}/examples
vcopy $f usr/libexec/${sourcepkg}/examples
done
}
}