wok annotate itaka/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (10 days ago)
parents fa5a8f0acc3b
children
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/"
pascal@25445 11 WGET_URL="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$VERSION/$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 }