wok annotate itaka/receipt @ rev 24775

created recipes for jack1 and jack1-dev for use by older packages
author Hans-G?nter Theisgen
date Sat Mar 19 17:41:14 2022 +0100 (2022-03-19)
parents e3f377fbc5f0
children fa5a8f0acc3b
rev   line source
pankso@3865 1 # SliTaz package receipt.
pankso@3865 2
pankso@3865 3 PACKAGE="itaka"
pankso@3865 4 VERSION="0.2.2"
pankso@5615 5 CATEGORY="network"
pankso@3865 6 SHORT_DESC="Itaka on-demand screenshot server. Start server and let client connect via http"
pankso@3865 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pankso@3865 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20673 10 WEB_SITE="https://web.archive.org/web/20140701101226/http://itaka.jardinpresente.com.ar/"
pankso@3865 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4938 12 TAGS="screenshot"
pankso@3865 13
pascal@15600 14 DEPENDS="pygtk twisted"
pascal@15600 15
pascal@24545 16 # What is the latest version available today?
pascal@24545 17 current_version()
pascal@24545 18 {
pascal@24545 19 wget -O - https://github.com/marcetcheverry/Itaka/tags 2>/dev/null | \
pascal@24545 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 21 }
pascal@24545 22
pankso@3865 23 # Rules to configure and make the package.
pankso@3865 24 compile_rules()
pankso@3865 25 {
pankso@3865 26 cd $src
pascal@15600 27 make PREFIX=$DESTDIR/usr
pankso@3865 28 }
pankso@3865 29
pankso@3865 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3865 31 genpkg_rules()
pankso@3865 32 {
pascal@19934 33 mkdir -p $fs/usr/share $fs/usr/bin
pascal@15600 34 cp -a $install/usr/lib $fs/usr
pascal@15600 35 cp -a $install/usr/share/itaka $fs/usr/share
pascal@19933 36 ln -s ../lib/itaka/itaka.py $fs/usr/bin/itaka
pankso@3865 37 }