diff options
Diffstat (limited to 'libraries/liblinebreak/liblinebreak.SlackBuild')
-rw-r--r-- | libraries/liblinebreak/liblinebreak.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libraries/liblinebreak/liblinebreak.SlackBuild b/libraries/liblinebreak/liblinebreak.SlackBuild index 6e8c5e111ba9e..aa398d56d95f9 100644 --- a/libraries/liblinebreak/liblinebreak.SlackBuild +++ b/libraries/liblinebreak/liblinebreak.SlackBuild @@ -2,10 +2,12 @@ # Slackware build script for liblinebreak -# Written by Audrius Kažukauskas <audrius@neutrino.lt> +# Originally written by Audrius Kazukauskas <audrius@neutrino.lt> +# Maintained as of version 2.0 by Niels Horn <niels.horn@gmail.com> +# Revision date: 2010/01/28 PRGNAM=liblinebreak -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-2.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +19,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 @@ -41,6 +46,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux make @@ -54,4 +60,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} |