wok-next annotate picoblog/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | c4e53a39395a |
children | d5aab818505e |
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@15604 | 8 LICENSE="MIT" |
pascal@16240 | 9 TARBALL="$PACKAGE-$VERSION" |
pascal@11561 | 10 WEB_SITE="http://dev.kd2.org/picoblog/" |
pascal@11561 | 11 URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php" |
pascal@16264 | 12 TAGS="blog" |
pascal@11561 | 13 |
pascal@11561 | 14 DEPENDS="php" |
pascal@11561 | 15 |
pascal@11561 | 16 # Rules to configure and make the package. |
pascal@11561 | 17 compile_rules() |
pascal@11561 | 18 { |
al@20513 | 19 [ -s "$SRC/$TARBALL" ] || |
al@20513 | 20 wget -O "$SRC/$TARBALL" $URL |
pascal@11561 | 21 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null |
al@20513 | 22 cp "$SRC/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php |
pascal@11561 | 23 chown -R 80.80 $DESTDIR/var/www/$PACKAGE |
pascal@11561 | 24 } |
pascal@11561 | 25 |
pascal@11561 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11561 | 27 genpkg_rules() |
pascal@11561 | 28 { |
pascal@14337 | 29 cp -a $install/* $fs |
pascal@11561 | 30 } |