summaryrefslogtreecommitdiff
path: root/libraries/libcacard
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-04 18:58:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-05 20:11:16 -0500
commit44440d884b285373ed69cf11541c326be41b6d30 (patch)
tree41e60e1d096d0c21bb63ae66623fd1058cf8a49c /libraries/libcacard
parentc7fd316e7dee3d65ecd1435d4bc440ccd8f82040 (diff)
downloadslackbuilds-44440d884b285373ed69cf11541c326be41b6d30.tar.gz
libraries/libcacard: Updated for version 0.4.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libcacard')
-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 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 \
diff --git a/libraries/libcacard/libcacard.info b/libraries/libcacard/libcacard.info
index 5fc8c5044d..f3337883b6 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=""