SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tilda"

# SliTaz package receipt.

PACKAGE="tilda"
VERSION="0.9.6"
CATEGORY="utilities"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
SHORT_DESC="Linux terminal based on classic terminals from first person shooter games."
WEB_SITE="https://github.com/lanoxx/tilda/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="terminal"

DEPENDS="vte libconfuse libglade"
BUILD_DEPENDS="flex vte-dev libglade-dev libconfuse"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/tilda/files/tilda/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/tilda-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|LEXLIB=.*|LEXLIB=/usr/lib/libfl.a|' configure
    sed -i 's|<glib/.*|<glib.h>|' src/tomboykeybinder.h src/tilda.c
    ./configure $CONFIGURE_ARGS && 
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/applications/
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/pixmaps $fs/usr/share
    cp -a $install/usr/share/tilda.glade $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)