mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pcsc-ccid: install examples in usr/libexec
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
9bce8c2b7c
commit
1fca15124a
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pcsc-ccid'
|
# Template file for 'pcsc-ccid'
|
||||||
pkgname=pcsc-ccid
|
pkgname=pcsc-ccid
|
||||||
version=1.4.30
|
version=1.4.30
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="ccid-${version}"
|
wrksrc="ccid-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-udev --enable-twinserial"
|
configure_args="--enable-udev --enable-twinserial"
|
||||||
|
@ -31,14 +31,15 @@ pcsc-ccid-contrib_package() {
|
||||||
vman contrib/RSA_SecurID/RSA_SecurID_getpasswd.1
|
vman contrib/RSA_SecurID/RSA_SecurID_getpasswd.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pcsc-ccid-examples_package() {
|
pcsc-ccid-examples_package() {
|
||||||
short_desc+=" - examples"
|
short_desc+=" - examples"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmkdir usr/share/${sourcepkg}/examples
|
vmkdir usr/libexec/${sourcepkg}/examples
|
||||||
rm examples/*.o
|
rm examples/*.o
|
||||||
for f in $(find ${wrksrc}/examples -maxdepth 1 -type f); do
|
for f in $(find ${wrksrc}/examples -maxdepth 1 -type f); do
|
||||||
vcopy $f usr/share/${sourcepkg}/examples
|
vcopy $f usr/libexec/${sourcepkg}/examples
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue