wok-current annotate tilda/receipt @ rev 20519

Add openfile & libopusenc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 02 16:25:35 2018 +0100 (2018-11-02)
parents 5d53e8ccbc8d
children 5f6c5106b1f5
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
jozee@4585 17 # Rules to configure and make the package.
jozee@4585 18 compile_rules()
jozee@4585 19 {
pascal@17811 20 sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
pascal@15315 21 sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
slaxemulator@10309 22 ./configure $CONFIGURE_ARGS &&
slaxemulator@10309 23 make && make install
jozee@4585 24 }
jozee@4585 25
jozee@4585 26 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4585 27 genpkg_rules()
jozee@4585 28 {
slaxemulator@12087 29 mkdir -p $fs/usr/share/applications/
pascal@15315 30 cp -a $install/usr/bin $fs/usr
pascal@15315 31 cp -a $install/usr/share/pixmaps $fs/usr/share
al@17501 32 cp -a $install/usr/share/tilda.glade $fs/usr/share
jozee@4585 33 }