wok-6.x diff blogotext/receipt @ rev 22337

Up x11vnc-extra (0.9.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 17:18:01 2019 +0100 (2019-11-15)
parents fbcc503400dc
children bc1f11e28054
line diff
     1.1 --- a/blogotext/receipt	Mon Feb 25 10:34:08 2019 +0100
     1.2 +++ b/blogotext/receipt	Fri Nov 15 17:18:01 2019 +0100
     1.3 @@ -8,27 +8,18 @@
     1.4  LICENSE="MIT"
     1.5  WEB_SITE="https://github.com/BlogoText/blogotext"
     1.6  TARBALL="$PACKAGE-$VERSION.zip"
     1.7 -URL="https://lehollandaisvolant.net/blogotext/archives/$TARBALL"
     1.8 +WGET_URL="https://lehollandaisvolant.net/blogotext/archives/$TARBALL"
     1.9  
    1.10  DEPENDS="php-gd"
    1.11  BUILD_DEPENDS=""
    1.12  
    1.13 -# Rules to configure and make the package.
    1.14 -compile_rules()
    1.15 -{
    1.16 -	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    1.17 -		wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
    1.18 -	mkdir -p $DESTDIR/var/www 2> /dev/null
    1.19 -	cd $DESTDIR/var/www
    1.20 -	unzip "$SOURCES_REPOSITORY/$TARBALL"
    1.21 -	chown -R 80.80 $DESTDIR/var/www/blogotext
    1.22 -}
    1.23 -
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	cp -a $install/* $fs
    1.28 +	mkdir -p $fs/var/www/blogotext
    1.29 +	cp -a $src/* $fs/var/www/blogotext/
    1.30  	find $fs -type f -exec chmod a-x \{\} \;
    1.31 +	chown -R 80.80 $fs/var/www/blogotext
    1.32  }
    1.33  
    1.34  ## -----------------------------------------------------------------------