|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2013,2015 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2013,2015,2016 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-opensc} |
|
|
|
|
VERSION=${VERSION:-0.15.0} |
|
|
|
|
VERSION=${VERSION:-0.16.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/opensc/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -109,7 +109,7 @@ mv $PKG/etc/opensc.conf $PKG/etc/opensc.conf.new
|
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 COPYING ChangeLog $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 COPYING NEWS $PKG/usr/doc/$NAME |
|
|
|
|
|
|
|
|
|
# Copy slack-desc and doinst.sh files |
|
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
|