wok-6.x view shaarli/receipt @ rev 13983
poppler, poppler-dev, poppler-apps, poppler-qt4: up to 0.22.0
author | ernia <monghitri@aruba.it> |
---|---|
date | Thu Feb 07 21:27:33 2013 +0000 (2013-02-07) |
parents | cc5eacc5aec2 |
children | c8cdeee7be4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarli"
4 VERSION="0.0.40beta"
5 CATEGORY="network"
6 SHORT_DESC="A minimalist delicious clone."
7 WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 _TARBALL="${PACKAGE}_$VERSION.zip"
10 _URL="http://sebsauvage.net/files/$_TARBALL"
12 DEPENDS="php"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
18 wget -O "$SOURCES_REPOSITORY/$_TARBALL" $_URL
19 mkdir -p $src 2> /dev/null
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/var/www/$PACKAGE
26 cd $fs/var/www/$PACKAGE
27 unzip "$SOURCES_REPOSITORY/$_TARBALL"
28 }
30 post_install()
31 {
32 chown -R www $1/var/www/$PACKAGE
33 }