wok annotate blogotext/receipt @ rev 14973
Up: firefox-langpack-zh_CN (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:20:11 2013 +0200 (2013-08-08) |
parents | b2a632fc9587 |
children | 7c9b40764925 |
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" |
al@14789 | 8 WEB_SITE="http://lehollandaisvolant.net/blogotext" |
pascal@14337 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@14337 | 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@14337 | 18 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] || |
pascal@14337 | 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@14337 | 22 unzip "$SOURCES_REPOSITORY/$TARBALL" |
pascal@11546 | 23 chown -R 80.80 $DESTDIR/var/www/blogotext |
pascal@11546 | 24 } |
pascal@11546 | 25 |
al@14789 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14789 | 27 genpkg_rules() |
pascal@11546 | 28 { |
pascal@13396 | 29 cp -a $install/* $fs |
al@14789 | 30 find $fs -type f -exec chmod a-x \{\} \; |
pascal@11546 | 31 } |