aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/boolstuff/boolstuff.SlackBuild19
-rw-r--r--libraries/boolstuff/boolstuff.info8
2 files changed, 10 insertions, 17 deletions
diff --git a/libraries/boolstuff/boolstuff.SlackBuild b/libraries/boolstuff/boolstuff.SlackBuild
index 504f18b173286..798276837aaec 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
diff --git a/libraries/boolstuff/boolstuff.info b/libraries/boolstuff/boolstuff.info
index 3e77c1250c4d8..e4b5cb25549bf 100644
--- a/libraries/boolstuff/boolstuff.info
+++ b/libraries/boolstuff/boolstuff.info
@@ -1,10 +1,10 @@
PRGNAM="boolstuff"
-VERSION="0.1.12"
+VERSION="0.1.13"
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/boolstuff.html"
-DOWNLOAD="http://perso.b2b2c.ca/sarrazip/dev/boolstuff-0.1.12.tar.gz"
-MD5SUM="3eb0aa4bf24e215700c9cba30a648969"
+DOWNLOAD="http://perso.b2b2c.ca/sarrazip/dev/boolstuff-0.1.13.tar.gz"
+MD5SUM="084a834f8b4c59f690f1dcf2f385d404"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Dave Margell"
EMAIL="dmargell@gmail.com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"