diff options
author | David Woodfall <dave@unrealize.co.uk> | 2010-05-13 00:38:56 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:38:56 +0200 |
commit | 1564a19c33ee2d125df077bc7e497bc54f3e8641 (patch) | |
tree | 6d9575a886480f6e0e088c80076eb5b8ff80691c /office/aiksaurus/aiksaurus.SlackBuild | |
parent | df13eaf76106bbefd20afc4723c6cc9b99de94e7 (diff) | |
download | slackbuilds-1564a19c33ee2d125df077bc7e497bc54f3e8641.tar.gz |
office/aiksaurus: Updated for version 1.2.1
Diffstat (limited to 'office/aiksaurus/aiksaurus.SlackBuild')
-rw-r--r-- | office/aiksaurus/aiksaurus.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild index 7fce2e5a9c..e9b865e537 100644 --- a/office/aiksaurus/aiksaurus.SlackBuild +++ b/office/aiksaurus/aiksaurus.SlackBuild @@ -40,6 +40,7 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -57,10 +58,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/include-fixes.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -76,9 +80,13 @@ make install DESTDIR=$PKG xargs strip --strip-unneeded 2> /dev/null ) +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING ChangeLog README README.W32 $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} |