wok view itaka/receipt @ rev 24939

f2c: add libf2c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 15 16:15:33 2022 +0000 (2022-04-15)
parents e3f377fbc5f0
children fa5a8f0acc3b
line source
1 # SliTaz package receipt.
3 PACKAGE="itaka"
4 VERSION="0.2.2"
5 CATEGORY="network"
6 SHORT_DESC="Itaka on-demand screenshot server. Start server and let client connect via http"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://web.archive.org/web/20140701101226/http://itaka.jardinpresente.com.ar/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="screenshot"
14 DEPENDS="pygtk twisted"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/marcetcheverry/Itaka/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make PREFIX=$DESTDIR/usr
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/usr/bin
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share/itaka $fs/usr/share
36 ln -s ../lib/itaka/itaka.py $fs/usr/bin/itaka
37 }