wok-current annotate davfs2/receipt @ rev 5455
Up davfs2 (1.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 17:07:10 2010 +0200 (2010-05-05) |
parents | 6e90579538d6 |
children | 4a08188ba4a9 |
rev | line source |
---|---|
pascal@3968 | 1 # SliTaz package receipt. |
pascal@3968 | 2 |
pascal@3968 | 3 PACKAGE="davfs2" |
pascal@5455 | 4 VERSION="1.4.6" |
pascal@3968 | 5 CATEGORY="network" |
pascal@3968 | 6 SHORT_DESC="Remote collaborative authoring of Web resources." |
pascal@3968 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3968 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3968 | 9 WEB_SITE="http://savannah.nongnu.org/projects/$PACKAGE" |
pascal@3968 | 10 WGET_URL="http://mirrors.linhub.com/savannah/$PACKAGE/$TARBALL" |
pascal@5000 | 11 DEPENDS="openssl libkrb5 krb5 expat neon zlib libcomerr3" |
pascal@3969 | 12 BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev" |
pascal@3968 | 13 CONFIG_FILES="/etc/davfs2" |
pascal@3968 | 14 |
pascal@3968 | 15 # Rules to configure and make the package. |
pascal@3968 | 16 compile_rules() |
pascal@3968 | 17 { |
pascal@3968 | 18 cd $src |
pascal@3968 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3968 | 20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@3968 | 21 make && |
pascal@3968 | 22 make DESTDIR=$PWD/_pkg install |
pascal@3968 | 23 } |
pascal@3968 | 24 |
pascal@3968 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3968 | 26 genpkg_rules() |
pascal@3968 | 27 { |
pascal@3968 | 28 mkdir -p $fs/usr |
pascal@3968 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@3968 | 30 cp -a $_pkg/etc $fs |
pascal@3968 | 31 sed -i -e 's/# dav_user/dav_user/' \ |
pascal@3968 | 32 -e 's/# dav_group/dav_group/' \ |
pascal@3968 | 33 -e 's/ davfs2 / www /' \ |
pascal@3968 | 34 $fs/etc/davfs2/davfs2.conf |
pascal@3968 | 35 } |