wok view tilda/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents 65ff25c4de90
children
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 - $WEB_SITE/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
28 sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
29 ./configure $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications/
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 cp -a $install/usr/share/tilda.glade $fs/usr/share
40 }