aboutsummaryrefslogtreecommitdiff
path: root/system/ccid/ccid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ccid/ccid.SlackBuild')
-rw-r--r--system/ccid/ccid.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/ccid/ccid.SlackBuild b/system/ccid/ccid.SlackBuild
index 293702a9b5812..ab392a156984a 100644
--- a/system/ccid/ccid.SlackBuild
+++ b/system/ccid/ccid.SlackBuild
@@ -29,16 +29,14 @@
# 05 October 2009 -- Updated to version 1.3.11
PRGNAM=ccid
-VERSION=1.4.3
+VERSION=1.4.13
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -70,12 +68,13 @@ cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root.root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# --enable-udev flag is no longer supported
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -85,12 +84,12 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-udev \
--enable-twinserial \
--enable-static=no \
- --build=$ARCH-slackware-linux
+ --enable-composite-as-multislot \
+ --build=$ARCH-slackware-linux
-make
+make
make install DESTDIR=$PKG
# Install the udev rules since this is not done automatically.