diff options
author | Michael Johnson <youngmug@animeneko.net> | 2010-05-11 20:00:30 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:00:30 +0200 |
commit | 0778812b65d2e6e0142b1d979b5538455ffae9ae (patch) | |
tree | fca8d6981142d6857e3517c7795bca35ef8c0c74 /development | |
parent | 3ece659f38de2d0cb7861951957d854f1c952dc6 (diff) | |
download | slackbuilds-0778812b65d2e6e0142b1d979b5538455ffae9ae.tar.gz |
development/rapidsvn: Added to 12.0 repository
Diffstat (limited to 'development')
-rw-r--r-- | development/rapidsvn/README | 6 | ||||
-rw-r--r-- | development/rapidsvn/doinst.sh | 5 | ||||
-rw-r--r-- | development/rapidsvn/rapidsvn.SlackBuild | 67 | ||||
-rw-r--r-- | development/rapidsvn/rapidsvn.desktop | 10 | ||||
-rw-r--r-- | development/rapidsvn/rapidsvn.info | 8 | ||||
-rw-r--r-- | development/rapidsvn/slack-desc | 12 |
6 files changed, 108 insertions, 0 deletions
diff --git a/development/rapidsvn/README b/development/rapidsvn/README new file mode 100644 index 0000000000..aa1b0e4834 --- /dev/null +++ b/development/rapidsvn/README @@ -0,0 +1,6 @@ +RapidSVN is a cross-platform GUI front-end for the Subversion revision +system written in C++ using the wxWidgets framework. +It also includes a Subversion client C++ API. + +RapidSVN relies on wxWidgets (essentially wxGTK), which can also be +found at SlackBuilds.org. diff --git a/development/rapidsvn/doinst.sh b/development/rapidsvn/doinst.sh new file mode 100644 index 0000000000..22d4849bce --- /dev/null +++ b/development/rapidsvn/doinst.sh @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +fi + diff --git a/development/rapidsvn/rapidsvn.SlackBuild b/development/rapidsvn/rapidsvn.SlackBuild new file mode 100644 index 0000000000..b8a7c92bbd --- /dev/null +++ b/development/rapidsvn/rapidsvn.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for RapidSVN + +# Written by <youngmug@animeneko.net> +# Modified slightly by Robby Workman <rworkman@slackbuilds.org> + +PRGNAM=rapidsvn +VERSION=0.9.4 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-apr-config=apr-1-config \ + --with-apu-config=apu-1-config + +make +make install-strip DESTDIR=$PKG + +# Add a desktop file and the program icon +mkdir -p $PKG/usr/share/{applications,pixmaps} +install -m 0644 $CWD/rapidsvn.desktop $PKG/usr/share/applications +cat src/res/bitmaps/rapidsvn_128x128.png > $PKG/usr/share/pixmaps/rapidsvn.png + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +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 diff --git a/development/rapidsvn/rapidsvn.desktop b/development/rapidsvn/rapidsvn.desktop new file mode 100644 index 0000000000..e517236162 --- /dev/null +++ b/development/rapidsvn/rapidsvn.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=RapidSVN +GenericName=SVN Client +Comment=A GUI Client for Subversion +Type=Application +Exec=rapidsvn +Icon=rapidsvn +Categories=GNOME;Application;Development diff --git a/development/rapidsvn/rapidsvn.info b/development/rapidsvn/rapidsvn.info new file mode 100644 index 0000000000..3e962585db --- /dev/null +++ b/development/rapidsvn/rapidsvn.info @@ -0,0 +1,8 @@ +PRGNAM="rapidsvn" +VERSION="0.9.4" +HOMEPAGE="http://www.rapidsvn.org/" +DOWNLOAD="http://rapidsvn.org/download/release/0.9.4/rapidsvn-0.9.4.tar.gz" +MD5SUM="29ef579131f97a8b2bdad77e14a619be" +MAINTAINER="Michael Johnson" +EMAIL="youngmug@animeneko.net" +APPROVED="rworkman" diff --git a/development/rapidsvn/slack-desc b/development/rapidsvn/slack-desc new file mode 100644 index 0000000000..8881bbc7ec --- /dev/null +++ b/development/rapidsvn/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler---------------------------------------------------| +rapidsvn: rapidsvn (Cross-Platform Subversion GUI Client) +rapidsvn: +rapidsvn: RapidSVN is a cross-platform GUI front-end for the +rapidsvn: Subversion revision system written in C++ using +rapidsvn: the wxWidgets framework. +rapidsvn: +rapidsvn: It also includes a Subversion client C++ API. +rapidsvn: +rapidsvn: Homepage: http://www.rapidsvn.org +rapidsvn: +rapidsvn: |