wok view tilda/receipt @ rev 24576

updated fswebcam (20140113 -> 20200725)
author Hans-G?nter Theisgen
date Sun Feb 27 10:49:46 2022 +0100 (2022-02-27)
parents 57b29da0fd99
children 65ff25c4de90
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="http://tilda.sourceforge.net"
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 }