wok-next diff rapidsvn/receipt @ rev 3619

Add chocolate-doom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 30 18:58:24 2009 +0200 (2009-06-30)
parents
children 8be66f03fbd2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rapidsvn/receipt	Tue Jun 30 18:58:24 2009 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rapidsvn"
     1.7 +VERSION="0.9.8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A cross-platform GUI front-end for the Subversion revision system."
    1.10 +MAINTAINER="stefanossofroniou542@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +DEPENDS="wxWidgets subversion apr apr-util libtool cyrus-sasl neon"
    1.13 +BUILD_DEPENDS="wxWidgets-dev subversion-dev apr-dev apr-util-dev cyrus-sasl-dev"
    1.14 +WEB_SITE="http://rapidsvn.tigris.org/"
    1.15 +WGET_URL="http://www.rapidsvn.org/download/release/$VERSION/$PACKAGE-$VERSION.tar.gz"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr \
    1.22 +		--with-apr-config=apr-1-config \
    1.23 +		--with-apu-config=apu-1-config \
    1.24 +		--with-neon-config=neon-config \
    1.25 +		--with-wx-config=wx-config \
    1.26 +		--with-svn-include=/usr/include \
    1.27 +		--with-svn-lib=/usr/lib \
    1.28 +		$CONFIGURE_ARGS
    1.29 +	make
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib \
    1.37 +		 $fs/usr/share \
    1.38 +		 $fs/usr/share/applications \
    1.39 +		 $fs/usr/share/pixmaps
    1.40 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +	cp -a stuff/rapidsvn.desktop $fs/usr/share/applications
    1.43 +	cp -a stuff/rapidsvn.png $fs/usr/share/pixmaps
    1.44 +}