opensc: rm instead of @comment'ing share/doc/opensc and all files in it
no problem now but experience has shown that @comment'ing a directory often results in files later being added to the dir without undoing the @comment, in which case the dir is not registered correctly in plists
This commit is contained in:
parent
934f07807b
commit
0f262aaabb
@ -1,6 +1,7 @@
|
||||
COMMENT= set of libraries and utilities to access smart cards
|
||||
|
||||
V= 0.22.0
|
||||
REVISION= 0
|
||||
DISTNAME= opensc-${V}
|
||||
|
||||
SHARED_LIBS += opensc 7.3 # 8.0
|
||||
@ -52,6 +53,8 @@ post-install:
|
||||
${SUBST_CMD} -c -m ${NONBINMODE} -o ${BINOWN} -g ${BINGRP} \
|
||||
${FILESDIR}/libopensc.pc ${PREFIX}/lib/pkgconfig/libopensc.pc
|
||||
@find ${PREFIX}/lib/pkcs11/ -name '*.la' -delete
|
||||
rm ${PREFIX}/share/doc/opensc/{NEWS,opensc.conf}
|
||||
rmdir ${PREFIX}/share/doc/opensc
|
||||
|
||||
# only a few tests are normally run. src/tests/regression has a number
|
||||
# of other tests that require a card.
|
||||
|
@ -79,9 +79,6 @@ share/bash-completion/completions/pkcs15-init
|
||||
share/bash-completion/completions/pkcs15-tool
|
||||
share/bash-completion/completions/sc-hsm-tool
|
||||
share/bash-completion/completions/westcos-tool
|
||||
@comment share/doc/opensc/
|
||||
@comment share/doc/opensc/NEWS
|
||||
@comment share/doc/opensc/opensc.conf
|
||||
share/examples/opensc/
|
||||
share/examples/opensc/opensc.conf
|
||||
@mode 644
|
||||
|
Loading…
Reference in New Issue
Block a user