diff options
Diffstat (limited to 'libraries/boolstuff/boolstuff.SlackBuild')
-rw-r--r-- | libraries/boolstuff/boolstuff.SlackBuild | 19 |
1 files changed, 6 insertions, 13 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 |