wok view tilda/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 5f6c5106b1f5
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="tilda"
4 VERSION="0.9.6"
5 CATEGORY="utilities"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Linux terminal based on classic terminals from first person shooter games."
9 WEB_SITE="https://github.com/lanoxx/tilda/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="terminal"
14 DEPENDS="vte libconfuse libglade"
15 BUILD_DEPENDS="flex vte-dev libglade-dev libconfuse"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/tilda/files/tilda/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/tilda-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
29 sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
30 ./configure $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 cp -a $install/usr/share/tilda.glade $fs/usr/share
41 }