diff options
author | Michael Johnson <youngmug@animeneko.net> | 2010-05-13 00:25:28 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:25:28 +0200 |
commit | 47c15d12dffad15b3e518fdf7b808e4774b7dab3 (patch) | |
tree | 1a0cc45b3d442b705c82036d6c1aca0a264b467e /development/rapidsvn/rapidsvn.SlackBuild | |
parent | 77281818d582b2eb3a30138014789efc8af2d48e (diff) | |
download | slackbuilds-47c15d12dffad15b3e518fdf7b808e4774b7dab3.tar.gz |
development/rapidsvn: Updated for version 0.9.6
Diffstat (limited to 'development/rapidsvn/rapidsvn.SlackBuild')
-rw-r--r-- | development/rapidsvn/rapidsvn.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/development/rapidsvn/rapidsvn.SlackBuild b/development/rapidsvn/rapidsvn.SlackBuild index 0b1f845f56..ae5fbbd281 100644 --- a/development/rapidsvn/rapidsvn.SlackBuild +++ b/development/rapidsvn/rapidsvn.SlackBuild @@ -10,6 +10,7 @@ VERSION=0.9.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -17,8 +18,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 @@ -36,10 +42,12 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --with-apr-config=apr-1-config \ - --with-apu-config=apu-1-config + --with-apu-config=apu-1-config \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -55,8 +63,9 @@ cat src/res/bitmaps/rapidsvn_128x128.png > $PKG/usr/share/pixmaps/rapidsvn.png ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGES COPYING ChangeLog FDL.txt GPL.txt HACKING.txt INSTALL \ - LGPL.txt LICENSE.txt NEWS README TRANSLATIONS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS CHANGES COPYING ChangeLog FDL.txt GPL.txt HACKING.txt INSTALL \ + LGPL.txt LICENSE.txt NEWS README TRANSLATIONS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -64,4 +73,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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} |