aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libcacard/libcacard.SlackBuild8
-rw-r--r--libraries/libcacard/libcacard.info6
2 files changed, 8 insertions, 6 deletions
diff --git a/libraries/libcacard/libcacard.SlackBuild b/libraries/libcacard/libcacard.SlackBuild
index c4532fdc28382..a9819d79c54a3 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 \
diff --git a/libraries/libcacard/libcacard.info b/libraries/libcacard/libcacard.info
index 5fc8c5044da26..f3337883b68cd 100644
--- a/libraries/libcacard/libcacard.info
+++ b/libraries/libcacard/libcacard.info
@@ -1,8 +1,8 @@
PRGNAM="libcacard"
-VERSION="20110223_2772885"
+VERSION="0.1.2"
HOMEPAGE="http://spice-space.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/libcacard-20110223_2772885.tar.xz"
-MD5SUM="e073322e246a751ef17955a1594cd298"
+DOWNLOAD="http://spice-space.org/download/libcacard/libcacard-0.1.2.tar.bz2"
+MD5SUM="ca61fd1d7feaa09e37011daac95c0168"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""