diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 00:25:05 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:25:05 +0200 |
commit | e034861c53f99413d26c38161b0350c561508843 (patch) | |
tree | 559d387b360669afd9039d36aa7d08c94f037fb7 /development/nvi/nvi.SlackBuild | |
parent | 48cc23c77cd27f051aa41c03ad05e7bc6f0db6be (diff) | |
download | slackbuilds-e034861c53f99413d26c38161b0350c561508843.tar.gz |
development/nvi: Updated for version 1.81.6
Diffstat (limited to 'development/nvi/nvi.SlackBuild')
-rw-r--r-- | development/nvi/nvi.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/development/nvi/nvi.SlackBuild b/development/nvi/nvi.SlackBuild index 65ab297325..b8d56b7bca 100644 --- a/development/nvi/nvi.SlackBuild +++ b/development/nvi/nvi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nvi -# Copyright 2008 Robby Workman Northport, Alabama (USA) +# Copyright 2008-2009 Robby Workman Northport, Alabama (USA) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -36,10 +36,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 @@ -61,6 +64,7 @@ cd build.unix CFLAGS="$SLKCFLAGS" \ ../dist/configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -68,8 +72,7 @@ cd build.unix --enable-widechar \ --disable-static \ --program-prefix="n" \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG cd - @@ -88,11 +91,13 @@ cd - ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README* TODO docs/html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README* TODO docs/html \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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} |