diff options
author | Luís Henrique <lmello.009@gmail.com> | 2010-05-13 00:24:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:24:25 +0200 |
commit | 25ac4feab6e81b4b406f6128a2d8903c771b80dd (patch) | |
tree | 0a7d75f20d09b1e43d723b6fa703d07c5d9b9ef3 /development/cppunit/cppunit.SlackBuild | |
parent | fcfcfd4fdbc58f3a4314f6fa7d84463daedd612f (diff) |
development/cppunit: Updated for version 1.12.1
Diffstat (limited to 'development/cppunit/cppunit.SlackBuild')
-rw-r--r-- | development/cppunit/cppunit.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/development/cppunit/cppunit.SlackBuild b/development/cppunit/cppunit.SlackBuild index 092fb4e40d2ed..19fe40fbaaf51 100644 --- a/development/cppunit/cppunit.SlackBuild +++ b/development/cppunit/cppunit.SlackBuild @@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -78,4 +82,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |