summaryrefslogtreecommitdiff
path: root/libraries/libcacard/libcacard.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcacard/libcacard.SlackBuild')
-rw-r--r--libraries/libcacard/libcacard.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/libcacard/libcacard.SlackBuild b/libraries/libcacard/libcacard.SlackBuild
index c4532fdc28..a9819d79c5 100644
--- a/libraries/libcacard/libcacard.SlackBuild
+++ b/libraries/libcacard/libcacard.SlackBuild
@@ -4,7 +4,7 @@
# Written by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=libcacard
-VERSION=${VERSION:-20110223_2772885}
+VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -52,9 +52,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+LDFLAGS="-lnss3 -lpthread" \
+CPPFLAGS="-I/usr/include/nss -I/usr/include/nspr" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \