wok-next view subversion/receipt @ rev 5982
nut: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:34:30 2010 +0200 (2010-08-13) |
parents | 889110b89584 |
children | a68201fabc69 |
line source
1 # SliTaz package receipt.
3 PACKAGE="subversion"
4 VERSION="1.6.11"
5 CATEGORY="development"
6 SHORT_DESC="Subversion Source Code Management access"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="apr-util cyrus-sasl openssl krb5 util-linux-ng-uuid expat zlib neon sqlite \
9 gnutls libcomerr libcomerr3"
10 BUILD_DEPENDS="zlib-dev neon expat apr-dev apr-util-dev apr-util mysql-dev neon-dev \
11 sqlite-dev expat-dev krb5 krb5-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://subversion.tigris.org"
14 WGET_URL="http://subversion.tigris.org/downloads/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make -j 4 &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 }
34 # Rules to clean stuff
35 clean_wok()
36 {
37 rm -rf $WOK/$PACKAGE/ss*
38 }