wok-current view itaka/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents fa5a8f0acc3b
children
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="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$VERSION/$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 }