wok-current rev 19072

Add: Picozu the HTML5 online image editor.
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Apr 23 00:11:02 2016 -0300 (2016-04-23)
parents 3842d11b928f
children 80ebae36349f
files web-picozu/description.txt web-picozu/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web-picozu/description.txt	Sat Apr 23 00:11:02 2016 -0300
     1.3 @@ -0,0 +1,11 @@
     1.4 +Picozu Web
     1.5 +
     1.6 +Picozu is an online drawing and photo retouching application
     1.7 +based on HTML5 and CSS3. The application provides you with an
     1.8 +easy yet complex way to edit your photos, draw using various
     1.9 +brushes, filters, layers and explore various editing tools
    1.10 +such as color fill, magic eraser, freehand selection, cropping,
    1.11 +selections and more.
    1.12 +
    1.13 +Picozu
    1.14 +https://www.picozu.com/
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/web-picozu/receipt	Sat Apr 23 00:11:02 2016 -0300
     2.3 @@ -0,0 +1,54 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="web-picozu"
     2.7 +VERSION="0.1"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Picozu is a online HTML5 image editor."
    2.10 +MAINTAINER="hackdorte@sapo.pt"
    2.11 +LICENSE="Freeware"
    2.12 +SOURCE="picozu"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://people.slitaz.org/~leonardolaporte"
    2.15 +STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
    2.16 +WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
    2.17 +TAGS="cloud editor image picozu"
    2.18 +
    2.19 +DEPENDS="tazweb"
    2.20 +BUILD_DEPENDS="wget"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +
    2.26 +# Build Tree.
    2.27 +  mkdir -p $install/usr/share/applications
    2.28 +  mkdir -p $install/usr/share/pixmaps
    2.29 +
    2.30 +# Writing ".desktop" files.
    2.31 +# -------------------------
    2.32 +# The icons preserve the 'web-*' name for no future conflicts
    2.33 +# with other applications.
    2.34 +#
    2.35 +# >_ Picozu Desktop
    2.36 +#
    2.37 +cat > $install/usr/share/applications/web-picozu.desktop << EOT
    2.38 +[Desktop Entry]
    2.39 +Type=Application
    2.40 +Name=Picozu Image Editor (WebApp)
    2.41 +Comment=Picozu the HTML5 online image editor.
    2.42 +Categories=Network;
    2.43 +Icon=web-picozu
    2.44 +Exec=sh -c "url=https://www.picozu.com/editor ; tazweb --notoolbar \$url || browser \$url"
    2.45 +
    2.46 +EOT
    2.47 +#
    2.48 +# >_ Done
    2.49 +#
    2.50 +  cp -a $src/icon/* $install/usr/share/pixmaps
    2.51 +}
    2.52 +
    2.53 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.54 +genpkg_rules()
    2.55 +{
    2.56 +  cp -a $install/* $fs
    2.57 +}