mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/boolstuff: Updated for version 0.1.13.
This commit is contained in:
parent
b88e30611d
commit
277db33027
2 changed files with 10 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue