wok rev 3968
Add davfs2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 26 18:31:06 2009 +0200 (2009-08-26) |
parents | 90d6744df8da |
children | 7dba2299de12 |
files | davfs2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/davfs2/receipt Wed Aug 26 18:31:06 2009 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="davfs2" 1.7 +VERSION="1.4.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Remote collaborative authoring of Web resources." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://savannah.nongnu.org/projects/$PACKAGE" 1.13 +WGET_URL="http://mirrors.linhub.com/savannah/$PACKAGE/$TARBALL" 1.14 +DEPENDS="neon" 1.15 +BUILD_DEPENDS="neon-dev" 1.16 +CONFIG_FILES="/etc/davfs2" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/sbin $fs/usr 1.33 + cp -a $_pkg/etc $fs 1.34 + sed -i -e 's/# dav_user/dav_user/' \ 1.35 + -e 's/# dav_group/dav_group/' \ 1.36 + -e 's/ davfs2 / www /' \ 1.37 + $fs/etc/davfs2/davfs2.conf 1.38 +}