wok-current annotate shaarli/receipt @ rev 14429

fix openjpeg-dev, add openjpeg2, rebuild mupdf, move from undigest djvulibre, and finally add fbpdf-mupdf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 14:06:49 2013 +0000 (2013-04-24)
parents 40cacec2a7a6
children 10e6c72b2c15
rev   line source
pascal@11566 1 # SliTaz package receipt.
pascal@11566 2
pascal@11566 3 PACKAGE="shaarli"
pascal@14170 4 VERSION="0.0.41beta"
pascal@11566 5 CATEGORY="network"
pascal@11566 6 SHORT_DESC="A minimalist delicious clone."
pascal@11566 7 WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
pascal@11566 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14337 9 TARBALL="${PACKAGE}_$VERSION.zip"
pascal@14337 10 _URL="http://sebsauvage.net/files/$TARBALL"
pascal@11566 11
pascal@11566 12 DEPENDS="php"
pascal@11566 13
pascal@11566 14 # Rules to configure and make the package.
pascal@11566 15 compile_rules()
pascal@11566 16 {
pascal@14337 17 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
pascal@14337 18 wget -O "$SOURCES_REPOSITORY/$TARBALL" $_URL
pascal@11566 19 mkdir -p $src 2> /dev/null
pascal@11566 20 }
pascal@11566 21
pascal@11566 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11566 23 genpkg_rules()
pascal@11566 24 {
pascal@14065 25 mkdir -p $fs/var/www
pascal@14064 26 cd $fs/var/www
pascal@14337 27 unzip "$SOURCES_REPOSITORY/$TARBALL"
pascal@14064 28 mv $fs/var/www/$PACKAGE* $fs/var/www/$PACKAGE
pascal@14064 29 sed -i "s|mt_rand())|mt_rand().'$_URL$$')|" $fs/var/www/$PACKAGE/index.php
pascal@11566 30 }
pascal@11566 31
pascal@11566 32 post_install()
pascal@11566 33 {
pascal@11566 34 chown -R www $1/var/www/$PACKAGE
pascal@11566 35 }