wok-6.x annotate subversion/receipt @ rev 2369

fix chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 10:53:07 2009 +0000 (2009-03-06)
parents f27f36c37eaf
children 8c4a70e18847
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="subversion"
pascal@1867 4 VERSION="1.5.4"
pascal@1423 5 CATEGORY="development"
erjo@1217 6 SHORT_DESC="Subversion Source Code Management access"
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pascal@1867 8 DEPENDS="apr-util cyrus-sasl openssl krb5"
pascal@1514 9 BUILD_DEPENDS="zlib-dev neon expat apr-dev apr-util-dev apr-util mysql-dev"
erjo@1217 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1217 11 WEB_SITE="http://subversion.tigris.org"
erjo@1217 12 WGET_URL="http://subversion.tigris.org/downloads/$TARBALL"
erjo@1217 13
erjo@1217 14 # Rules to configure and make the package.
erjo@1217 15 compile_rules()
erjo@1217 16 {
erjo@1217 17 cd $src
erjo@1217 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1514 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1514 20 make &&
erjo@1217 21 make DESTDIR=$PWD/_pkg install
erjo@1217 22 }
erjo@1217 23
erjo@1217 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 25 genpkg_rules()
erjo@1217 26 {
erjo@1217 27 mkdir -p $fs/usr/lib
erjo@1217 28
erjo@1217 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1217 30 cp -a $_pkg/usr/bin $fs/usr
erjo@1217 31
erjo@1217 32 }
erjo@1217 33
erjo@1217 34 # Rules to clean stuff
erjo@1217 35 clean_wok()
erjo@1217 36 {
erjo@1217 37 rm -rf $WOK/$PACKAGE/ss*
erjo@1217 38 }
erjo@1217 39