wok annotate picoblog/receipt @ rev 12823
glibc-base: improve ARM package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 10:22:47 2012 +0200 (2012-05-22) |
parents | |
children | b2a632fc9587 |
rev | line source |
---|---|
pascal@11561 | 1 # SliTaz package receipt. |
pascal@11561 | 2 |
pascal@11561 | 3 PACKAGE="picoblog" |
pascal@11561 | 4 VERSION="1.0" |
pascal@11561 | 5 CATEGORY="network" |
pascal@11561 | 6 SHORT_DESC="Tiny blog engine." |
pascal@11561 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11561 | 8 _TARBALL="$PACKAGE-$VERSION.php" |
pascal@11561 | 9 WEB_SITE="http://dev.kd2.org/picoblog/" |
pascal@11561 | 10 URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php" |
pascal@11561 | 11 |
pascal@11561 | 12 DEPENDS="php" |
pascal@11561 | 13 |
pascal@11561 | 14 # Rules to configure and make the package. |
pascal@11561 | 15 compile_rules() |
pascal@11561 | 16 { |
pascal@11561 | 17 [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] || |
pascal@11561 | 18 wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL |
pascal@11561 | 19 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null |
pascal@11561 | 20 cp "$SOURCES_REPOSITORY/$_TARBALL" $DESTDIR/var/www/$PACKAGE/index.php |
pascal@11561 | 21 chown -R 80.80 $DESTDIR/var/www/$PACKAGE |
pascal@11561 | 22 } |
pascal@11561 | 23 |
pascal@11561 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11561 | 25 genpkg_rules() |
pascal@11561 | 26 { |
pascal@11561 | 27 cp -a $_pkg/* $fs |
pascal@11561 | 28 } |