wok view tilda/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 5d53e8ccbc8d |
children | 5f6c5106b1f5 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
21 sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
22 ./configure $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications/
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/pixmaps $fs/usr/share
32 cp -a $install/usr/share/tilda.glade $fs/usr/share
33 }