wok-6.x view shaarli/receipt @ rev 15295

cdrtools: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 09:56:20 2013 +0000 (2013-09-27)
parents b2a632fc9587
children d51b2411e55e
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarli"
4 VERSION="0.0.41beta"
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 LICENSE="zlib/libpng"
10 TARBALL="${PACKAGE}_$VERSION.zip"
11 _URL="http://sebsauvage.net/files/$TARBALL"
13 DEPENDS="php"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
19 wget -O "$SOURCES_REPOSITORY/$TARBALL" $_URL
20 mkdir -p $src 2> /dev/null
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/var/www
27 cd $fs/var/www
28 unzip "$SOURCES_REPOSITORY/$TARBALL"
29 mv $fs/var/www/$PACKAGE* $fs/var/www/$PACKAGE
30 sed -i "s|mt_rand())|mt_rand().'$_URL$$')|" $fs/var/www/$PACKAGE/index.php
31 }
33 post_install()
34 {
35 chown -R www $1/var/www/$PACKAGE
36 }