summaryrefslogtreecommitdiff
path: root/system/pcsc-lite/pcsc-lite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcsc-lite/pcsc-lite.SlackBuild')
-rw-r--r--system/pcsc-lite/pcsc-lite.SlackBuild43
1 files changed, 5 insertions, 38 deletions
diff --git a/system/pcsc-lite/pcsc-lite.SlackBuild b/system/pcsc-lite/pcsc-lite.SlackBuild
index 7a768870ec..263bb33085 100644
--- a/system/pcsc-lite/pcsc-lite.SlackBuild
+++ b/system/pcsc-lite/pcsc-lite.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcsc-lite
-VERSION=${VERSION:-1.6.7}
+VERSION=${VERSION:-1.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,14 +42,6 @@ OUTPUT=${OUTPUT:-/tmp}
# Debug is off by default
DEBUGATR=${DEBUGATR:-0}
-# API documentation building is off by default
-APIDOC=${APIDOC:-0}
-
-# Program to convert .tex files into .pdf (for APIDOC)
-TEXTOPDFBIN="/usr/share/texmf/bin/pdflatex"
-
-# 0 for conservative detection behaviour (libusb), 1 for libhal
-HALD=${HALD:-1} # using libhal behaviour by default
# README and README.DAEMON are not useful and partly outdated.
DOCFILES="DRIVERS SECURITY ChangeLog* COPYING HELP NEWS TODO AUTHORS INSTALL"
@@ -87,21 +79,17 @@ find . \
# with this script
patch -p0 < $CWD/docs-DRIVERS.diff || exit 1
-# ATR (answer to reset) debug parsing output
+# ATR (answer to reset) debug parsing output
case "$DEBUGATR" in
0) DEBUGATR_FLAG="dis" ;;
*) DEBUGATR_FLAG="en" ;;
esac
-# libusb and libhal support are mutually exclusive for reader detection:
-case "$HALD" in
- 0) LIBHAL_FLAG="--enable-libusb --disable-libhal" ;;
- *) LIBHAL_FLAG="--enable-libhal --disable-libusb" ;;
-esac
-
# --enable-runpid=/var/run/pcscd.pid, and
# --enable-muscledropdir="<libdir>/pcsc/services" are not supported anymore;
# pid directory changed to /var/run/pcscd for consistency
+# libhal support is gone
+# API docs not included anymore
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -113,8 +101,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-usbdropdir="/usr/lib${LIBDIRSUFFIX}/pcsc/drivers" \
+ --enable-confdir=/etc/reader.conf.d \
--${DEBUGATR_FLAG}able-debugatr \
- $LIBHAL_FLAG \
--build=$ARCH-slackware-linux
make
@@ -150,27 +138,6 @@ cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
# remove README.DAEMON, automatically installed by doc/Makefile.
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/README.DAEMON
-# .pdf api documentation files seem not to be built from .tex sources during
-# make. Most people don't need/want api docs anyway. Nonetheless tex sources
-# are removed.
-( cd $PKG/usr/doc/$PRGNAM-$VERSION/
-case "$APIDOC" in
- 1) if [ -x $TEXTOPDFBIN ]; then
- echo "Building API .pdf documentation ..."
- $TEXTOPDFBIN ifdhandler-3.tex 1>&2 >/dev/null
- else
- echo "API .pdf documentation NOT built."
- fi
- ;;
- *) echo "API .pdf documentation NOT built."
- ;;
-esac
-
-for oldfiles in *.aux *.tex *.toc *.log *.bib *.out ;
- do rm -f $oldfiles ;
-done
-)
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh