summaryrefslogtreecommitdiff
path: root/system/opensc-dnie/opensc-dnie.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-04-05 10:59:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-04-05 18:54:38 -0500
commit69942d8576bbba4130128a9ddc4dd60a0c1effd9 (patch)
treebf6f1f5bae6e0b7fdf3f85c151c670f416524574 /system/opensc-dnie/opensc-dnie.SlackBuild
parent7ecdca5bd22820a1b151e891eeb6dea834efb575 (diff)
downloadslackbuilds-69942d8576bbba4130128a9ddc4dd60a0c1effd9.tar.gz
system/opensc-dnie: Removed (incompatible with opensc-0.12.0)
Sorry, but proprietary stuff doesn't get to hold up progress. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/opensc-dnie/opensc-dnie.SlackBuild')
-rw-r--r--system/opensc-dnie/opensc-dnie.SlackBuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/system/opensc-dnie/opensc-dnie.SlackBuild b/system/opensc-dnie/opensc-dnie.SlackBuild
deleted file mode 100644
index 80c6dbb892..0000000000
--- a/system/opensc-dnie/opensc-dnie.SlackBuild
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-
-## Written by Daniel R. <danielrodriguez.es@gmail.com>
-
-# Based on scripts by the SlackBuilds.org project
-
-PRGNAM=opensc-dnie
-VERSION=1.4.6_2
-ARCH=${ARCH:-i386}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- TARGET="x86_64"
-else
- TARGET="x86"
-fi
-
-if [ "$TARGET" = "x86" ]; then
- SRCFILE=Debian_Lenny_${PRGNAM}_$(echo $VERSION | tr "_" "-")_i386.deb.tar
- SRCDEB=${PRGNAM}_$(echo $VERSION | tr "_" "-")_i386.deb
-elif [ "$TARGET" = "x86_64" ]; then
- SRCFILE=Debian_Lenny_${PRGNAM}_$(echo $VERSION | tr "_" "-")_amd64.deb.tar
- SRCDEB=${PRGNAM}_$(echo $VERSION | tr "_" "-")_amd64.deb
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-
-tar xf $CWD/$SRCFILE $SRCDEB
-ar x $SRCDEB data.tar.gz
-tar xxf data.tar.gz
-rm $SRCDEB data.tar.gz
-
-if [ "$TARGET" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib64
- sed -i "s%= /usr/lib/%= /usr/lib64/%" \
- $PKG/usr/share/$PRGNAM/opensc.conf.dnie
- sed -i "s%libdir=\${exec_prefix}/lib%libdir=\${exec_prefix}/lib64%" \
- $PKG/usr/lib64/pkgconfig/*.pc
- sed -i "s%/usr/lib%/usr/lib64%g" \
- $PKG/usr/lib64/*.la
-fi
-
-mkdir -p $PKG/etc
-cp $PKG/usr/share/$PRGNAM/opensc.conf.dnie $PKG/etc/opensc.conf.new
-
-mv $PKG/usr/share/doc $PKG/usr
-mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-chown -R root:root .
-find . -type d -exec chmod 755 {} \;
-chmod -R u+rw,go+r-w,a-s .
-
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}