development/rapidsvn: Added to 12.0 repository

This commit is contained in:
Michael Johnson 2010-05-11 20:00:30 +02:00 committed by Robby Workman
parent 3ece659f38
commit 0778812b65
6 changed files with 108 additions and 0 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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: