wok annotate tilda/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 57b29da0fd99
children 65ff25c4de90
rev   line source
jozee@4585 1 # SliTaz package receipt.
jozee@4585 2
jozee@4585 3 PACKAGE="tilda"
jozee@4585 4 VERSION="0.9.6"
jozee@4585 5 CATEGORY="utilities"
jozee@4585 6 MAINTAINER="jozee@slitaz.org"
pascal@15315 7 LICENSE="GPL2"
jozee@4585 8 SHORT_DESC="Linux terminal based on classic terminals from first person shooter games."
jozee@4585 9 WEB_SITE="http://tilda.sourceforge.net"
al@17501 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17501 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@17501 12 TAGS="terminal"
jozee@4585 13
pankso@9756 14 DEPENDS="vte libconfuse libglade"
pankso@9757 15 BUILD_DEPENDS="flex vte-dev libglade-dev libconfuse"
jozee@4585 16
pascal@24340 17 # What is the latest version available today?
pascal@24340 18 current_version()
pascal@24340 19 {
pascal@24340 20 wget -O - https://sourceforge.net/projects/tilda/files/tilda/ 2>/dev/null | \
pascal@24340 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 22 sed '/scope="row/!d;s|.*/tilda-||;s|.tar.*||;q'
pascal@24340 23 }
pascal@24340 24
jozee@4585 25 # Rules to configure and make the package.
jozee@4585 26 compile_rules()
jozee@4585 27 {
pascal@17811 28 sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
pascal@15315 29 sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
slaxemulator@10309 30 ./configure $CONFIGURE_ARGS &&
slaxemulator@10309 31 make && make install
jozee@4585 32 }
jozee@4585 33
jozee@4585 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4585 35 genpkg_rules()
jozee@4585 36 {
slaxemulator@12087 37 mkdir -p $fs/usr/share/applications/
pascal@15315 38 cp -a $install/usr/bin $fs/usr
pascal@15315 39 cp -a $install/usr/share/pixmaps $fs/usr/share
al@17501 40 cp -a $install/usr/share/tilda.glade $fs/usr/share
jozee@4585 41 }