summaryrefslogtreecommitdiff
path: root/libraries/boolstuff/boolstuff.SlackBuild
diff options
context:
space:
mode:
authorDave Margell <dmargell@gmail.com>2010-03-03 14:20:20 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:24:01 +0200
commit277db33027033a569be74daa31c9c04e5f949392 (patch)
tree9d231aff1434f3388bfbbbce1a79b79df17a7eaa /libraries/boolstuff/boolstuff.SlackBuild
parentb88e30611d1c685a6b7d109adcb0e00b649a4c4b (diff)
downloadslackbuilds-277db33027033a569be74daa31c9c04e5f949392.tar.gz
libraries/boolstuff: Updated for version 0.1.13.
Diffstat (limited to 'libraries/boolstuff/boolstuff.SlackBuild')
-rw-r--r--libraries/boolstuff/boolstuff.SlackBuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/libraries/boolstuff/boolstuff.SlackBuild b/libraries/boolstuff/boolstuff.SlackBuild
index 504f18b173..798276837a 100644
--- a/libraries/boolstuff/boolstuff.SlackBuild
+++ b/libraries/boolstuff/boolstuff.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dave Margell (dmargell@gmail.com)
PRGNAM=boolstuff
-VERSION=${VERSION:-0.1.12}
+VERSION=${VERSION:-0.1.13}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,13 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -41,16 +41,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/usr \
+ --datarootdir=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
@@ -68,11 +65,7 @@ make install DESTDIR=$PKG
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-# --docdir is not honored:
-rm -rf $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a AUTHORS COPYING INSTALL NEWS README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
cp -a examples/{example.cpp,non-string-nodes.cpp,test-booldnf.pl} \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild