wok-next annotate web-picozu/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 80ebae36349f
children cd7906120828
rev   line source
hackdorte@19072 1 # SliTaz package receipt.
hackdorte@19072 2
hackdorte@19072 3 PACKAGE="web-picozu"
hackdorte@19072 4 VERSION="0.1"
hackdorte@19072 5 CATEGORY="network"
hackdorte@19072 6 SHORT_DESC="Picozu is a online HTML5 image editor."
hackdorte@19072 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19072 8 LICENSE="Freeware"
hackdorte@19072 9 SOURCE="picozu"
hackdorte@19072 10 TARBALL="$SOURCE-$VERSION.tar.gz"
hackdorte@19072 11 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
hackdorte@19072 12 STUFF_DIR="lab.slitaz/5.0/pkg/web/image/editor"
hackdorte@19072 13 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
hackdorte@19072 14 TAGS="cloud editor image picozu"
hackdorte@19072 15
hackdorte@19072 16 DEPENDS="tazweb"
hackdorte@19072 17
hackdorte@19072 18 # Rules to configure and make the package.
hackdorte@19072 19 compile_rules()
hackdorte@19072 20 {
hackdorte@19072 21
hackdorte@19072 22 # Build Tree.
hackdorte@19072 23 mkdir -p $install/usr/share/applications
hackdorte@19072 24 mkdir -p $install/usr/share/pixmaps
hackdorte@19072 25
hackdorte@19072 26 # Writing ".desktop" files.
hackdorte@19072 27 # -------------------------
hackdorte@19072 28 # The icons preserve the 'web-*' name for no future conflicts
hackdorte@19072 29 # with other applications.
hackdorte@19072 30 #
hackdorte@19072 31 # >_ Picozu Desktop
hackdorte@19072 32 #
hackdorte@19072 33 cat > $install/usr/share/applications/web-picozu.desktop << EOT
hackdorte@19072 34 [Desktop Entry]
hackdorte@19072 35 Type=Application
hackdorte@19072 36 Name=Picozu Image Editor (WebApp)
hackdorte@19072 37 Comment=Picozu the HTML5 online image editor.
hackdorte@19072 38 Categories=Network;
hackdorte@19072 39 Icon=web-picozu
hackdorte@19073 40 Exec=tazweb --notoolbar "https://www.picozu.com/editor"
hackdorte@19072 41
hackdorte@19072 42 EOT
hackdorte@19072 43 #
hackdorte@19072 44 # >_ Done
hackdorte@19072 45 #
hackdorte@19072 46 cp -a $src/icon/* $install/usr/share/pixmaps
hackdorte@19072 47 }
hackdorte@19072 48
hackdorte@19072 49 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19072 50 genpkg_rules()
hackdorte@19072 51 {
hackdorte@19072 52 cp -a $install/* $fs
hackdorte@19072 53 }