wok-6.x annotate rapidsvn/receipt @ rev 8488

get-xlite: unbreak download loop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 22:41:18 2011 +0100 (2011-02-08)
parents 1707e54fb4cf
children b8c61f52220c
rev   line source
mallory@3101 1 # SliTaz package receipt.
mallory@3101 2
mallory@3101 3 PACKAGE="rapidsvn"
slaxemulator@6274 4 VERSION="0.12.0"
mallory@3101 5 CATEGORY="development"
mallory@3101 6 SHORT_DESC="A cross-platform GUI front-end for the Subversion revision system."
mallory@3101 7 MAINTAINER="stefanossofroniou542@gmail.com"
mallory@3101 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6274 9 DEPENDS="wxWidgets subversion apr apr-util libtool xorg-libXxf86vm libproxy sqlite"
slaxemulator@6274 10 BUILD_DEPENDS="$DEPENDS wxWidgets-dev subversion-dev apr-dev apr-util-dev cyrus-sasl-dev neon-dev libproxy-dev sqlite-dev expat-dev"
mallory@3101 11 WEB_SITE="http://rapidsvn.tigris.org/"
slaxemulator@6274 12 TARBALL=$PACKAGE-$VERSION-1.tar.gz
slaxemulator@6274 13 WGET_URL="http://www.rapidsvn.org/download/release/0.12/$TARBALL"
jozee@4972 14 TAGS="subversion svn version-control versioning"
mallory@3101 15
mallory@3101 16 # Rules to configure and make the package.
mallory@3101 17 compile_rules()
mallory@3101 18 {
slaxemulator@6274 19 src=$WOK/$PACKAGE/$PACKAGE-$VERSION-1
mallory@3101 20 cd $src
mallory@3101 21 ./configure --prefix=/usr \
mallory@3101 22 --with-apr-config=apr-1-config \
mallory@3101 23 --with-apu-config=apu-1-config \
mallory@3101 24 --with-neon-config=neon-config \
mallory@3101 25 --with-wx-config=wx-config \
mallory@3101 26 --with-svn-include=/usr/include \
mallory@3101 27 --with-svn-lib=/usr/lib \
pascal@5006 28 $CONFIGURE_ARGS &&
pascal@5006 29 make &&
mallory@3101 30 make DESTDIR=$PWD/_pkg install
mallory@3101 31 }
mallory@3101 32
mallory@3101 33 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3101 34 genpkg_rules()
mallory@3101 35 {
slaxemulator@6274 36 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION-1/_pkg
mallory@3101 37 mkdir -p $fs/usr/lib \
mallory@3101 38 $fs/usr/share \
mallory@3101 39 $fs/usr/share/applications \
mallory@3101 40 $fs/usr/share/pixmaps
mallory@3101 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3101 42 cp -a $_pkg/usr/bin $fs/usr
mallory@3101 43 cp -a stuff/rapidsvn.desktop $fs/usr/share/applications
mallory@3101 44 cp -a stuff/rapidsvn.png $fs/usr/share/pixmaps
mallory@3101 45 }