wok-6.x annotate davfs2/receipt @ rev 4353
Update: java-* - remove files that are already in dependent packages
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Oct 03 22:00:35 2009 +0000 (2009-10-03) |
parents | 27318035400a |
children | 6e90579538d6 |
rev | line source |
---|---|
pascal@3968 | 1 # SliTaz package receipt. |
pascal@3968 | 2 |
pascal@3968 | 3 PACKAGE="davfs2" |
pascal@3968 | 4 VERSION="1.4.1" |
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@3969 | 11 DEPENDS="openssl libkrb5 krb5 expat neon" |
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 } |