wok-next annotate blogotext/receipt @ rev 13779
fix bug32 : change config file to use $HOME var
author | border |
---|---|
date | Thu Jan 03 23:37:47 2013 -0500 (2013-01-03) |
parents | e363de4558d1 |
children | b2a632fc9587 |
rev | line source |
---|---|
pascal@11546 | 1 # SliTaz package receipt. |
pascal@11546 | 2 |
pascal@11546 | 3 PACKAGE="blogotext" |
pascal@13396 | 4 VERSION="2.0.0.0" |
pascal@11546 | 5 CATEGORY="network" |
pascal@11546 | 6 SHORT_DESC="Simple blog engine." |
pascal@11546 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13396 | 8 _TARBALL="$PACKAGE-$VERSION.zip" |
pascal@11546 | 9 WEB_SITE="http://lehollandaisvolant.net/blogotext" |
pascal@11546 | 10 URL="$WEB_SITE/archives/$_TARBALL" |
pascal@11546 | 11 |
pascal@13396 | 12 DEPENDS="php-gd" |
pascal@13396 | 13 BUILD_DEPENDS="" |
pascal@11546 | 14 |
pascal@11546 | 15 # Rules to configure and make the package. |
pascal@11546 | 16 compile_rules() |
pascal@11546 | 17 { |
pascal@11546 | 18 [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] || |
pascal@11546 | 19 wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL |
pascal@11546 | 20 mkdir -p $DESTDIR/var/www 2> /dev/null |
pascal@11546 | 21 cd $DESTDIR/var/www |
pascal@13396 | 22 unzip "$SOURCES_REPOSITORY/$_TARBALL" |
pascal@11546 | 23 chown -R 80.80 $DESTDIR/var/www/blogotext |
pascal@11546 | 24 } |
pascal@11546 | 25 |
pascal@11546 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11546 | 27 genpkg_rules() |
pascal@11546 | 28 { |
pascal@13396 | 29 cp -a $install/* $fs |
pascal@11546 | 30 } |