wok-next diff smbwebclient/receipt @ rev 13440
Up: claws-mail-vcalendar (2.0.13)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:22:16 2012 +0200 (2012-10-07) |
parents | f5b04145b323 |
children | 3b4e4318134e |
line diff
1.1 --- a/smbwebclient/receipt Thu May 13 23:05:31 2010 +0200 1.2 +++ b/smbwebclient/receipt Sun Oct 07 01:22:16 2012 +0200 1.3 @@ -5,28 +5,25 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Samba client over the Web." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +TARBALL="$PACKAGE-$VERSION.php.gz" 1.8 WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.9 DEPENDS="php smbclient" 1.10 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.11 CONFIG_FILES="/etc/samba/smbwebclient.conf" 1.12 - 1.13 -# Rules to configure and make the package. 1.14 -compile_rules() 1.15 -{ 1.16 - [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.php.gz ] || 1.17 - wget $SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.php.gz -P $SOURCES_REPOSITORY 1.18 - if [ ! -d $src ]; then 1.19 - mkdir -p $src 1.20 - cp $SOURCES_REPOSITORY/$PACKAGE-$VERSION.php.gz $src 1.21 - gunzip $src/$PACKAGE-$VERSION.php.gz 1.22 - fi 1.23 -} 1.24 +COOK_OPT="!unpack !repack_src" 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 + if [ ! -d $src ]; then 1.30 + mkdir -p $src 1.31 + cp $SOURCES_REPOSITORY/$TARBALL $src 1.32 + gunzip $src/$TARBALL 1.33 + fi 1.34 + 1.35 mkdir -p $fs/usr/share/samba $fs/etc/samba 1.36 cp -a $src/. $fs/usr/share/samba 1.37 - cp -a stuff/* $fs 1.38 + cp -a $stuff/* $fs 1.39 } 1.40 1.41 post_install()