summaryrefslogtreecommitdiff
path: root/system/opensc/opensc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/opensc/opensc.SlackBuild')
-rw-r--r--system/opensc/opensc.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/opensc/opensc.SlackBuild b/system/opensc/opensc.SlackBuild
index 703a7184d5..0c260e5858 100644
--- a/system/opensc/opensc.SlackBuild
+++ b/system/opensc/opensc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opensc
-VERSION=${VERSION:-0.12.1}
+VERSION=${VERSION:-0.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -95,12 +95,10 @@ make install DESTDIR=$PKG
# Don't clobber the config file
mv $PKG/etc/opensc.conf $PKG/etc/opensc.conf.new
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# man files are not really built now, as we do not currently have XSL StyleSheets
-#find $PKG/usr/man -type f -exec gzip -9 {} \;
-#for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+# manpages are not built, as we do not currently have DocBook XSL StyleSheets
rm -rf $PKG/usr/man
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/