wok-next annotate davfs2/receipt @ rev 16964
Up tor (0.2.4.23)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 31 17:41:18 2014 +0200 (2014-07-31) |
parents | c4a1f99029e8 |
children | 6ff3a3889626 |
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@14999 | 8 LICENSE="GPL3" |
pascal@3968 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3968 | 10 WEB_SITE="http://savannah.nongnu.org/projects/$PACKAGE" |
pascal@12430 | 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
pascal@14999 | 12 CONFIG_FILES="/etc/davfs2" |
pascal@14999 | 13 |
pascal@5000 | 14 DEPENDS="openssl libkrb5 krb5 expat neon zlib libcomerr3" |
pascal@3969 | 15 BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev" |
pascal@3968 | 16 |
pascal@3968 | 17 # Rules to configure and make the package. |
pascal@3968 | 18 compile_rules() |
pascal@3968 | 19 { |
pascal@3968 | 20 cd $src |
pascal@3968 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3968 | 22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@3968 | 23 make && |
pascal@14999 | 24 make DESTDIR=$DESTDIR install |
pascal@3968 | 25 } |
pascal@3968 | 26 |
pascal@3968 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3968 | 28 genpkg_rules() |
pascal@3968 | 29 { |
pascal@3968 | 30 mkdir -p $fs/usr |
pascal@14999 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@14999 | 32 cp -a $install/etc $fs |
pascal@3968 | 33 sed -i -e 's/# dav_user/dav_user/' \ |
pascal@3968 | 34 -e 's/# dav_group/dav_group/' \ |
pascal@3968 | 35 -e 's/ davfs2 / www /' \ |
pascal@3968 | 36 $fs/etc/davfs2/davfs2.conf |
pascal@3968 | 37 } |