wok-current view subversion/receipt @ rev 12030

stella: move post_install code to genpkg_rules. It's far better to run a command once on the builder than on install on each of our computer.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 06 22:40:08 2012 +0100 (2012-03-06)
parents dcb3f2b817a4
children bf47075087c1
line source
1 # SliTaz package receipt.
3 PACKAGE="subversion"
4 VERSION="1.7.2"
5 CATEGORY="development"
6 SHORT_DESC="Subversion Source Code Management access"
7 MAINTAINER="lehswe@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://subversion.tigris.org"
10 WGET_URL="http://www.reverse.net/pub/apache/$PACKAGE/$TARBALL"
12 DEPENDS="libsvn apr-util libsqlite"
13 BUILD_DEPENDS="zlib-dev neon expat apr-dev mysql-dev neon-dev apr-util-dev \
14 sqlite-dev expat-dev krb5 krb5-dev util-linux-ng-uuid-dev python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make -j1 &&
22 make -j1 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 }