diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-05-13 00:35:33 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:33 +0200 |
commit | 474e5fbe21c45726ec0677901e3b9b0153eead3f (patch) | |
tree | c81472bfe751b038601965c836ad2347f72cdc41 /network/amap/amap.SlackBuild | |
parent | f7d0021d2ec7cf8808c0517c9a580c19be6e4fcd (diff) | |
download | slackbuilds-474e5fbe21c45726ec0677901e3b9b0153eead3f.tar.gz |
network/amap: Updated for version 5.2
Diffstat (limited to 'network/amap/amap.SlackBuild')
-rw-r--r-- | network/amap/amap.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/network/amap/amap.SlackBuild b/network/amap/amap.SlackBuild index 7c6d2cf64e..bbbb900752 100644 --- a/network/amap/amap.SlackBuild +++ b/network/amap/amap.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=amap VERSION=${VERSION:-5.2} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -36,6 +36,14 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="LICENCE.AMAP LICENSE.GNU README" +if [ "$ARCH" = "i486" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +fi + set -e rm -rf $PKG @@ -52,7 +60,7 @@ find . \ -exec chmod 644 {} \; # Add DESTDIR support and fix up a few other things -patch -p1 < $CWD/slackware.patch +patch -p1 --verbose < $CWD/slackware$LIBDIRSUFFIX.diff ./configure --prefix=/usr @@ -79,4 +87,5 @@ 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} + |