SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dfbterm"

# SliTaz package receipt.

PACKAGE="dfbterm"
VERSION="0.8.15"
CATEGORY="graphics"
SHORT_DESC="DirectFB Terminal emulator."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
SOURCE="DFBTerm"
TARBALL="${SOURCE}-${VERSION}.tar.gz"
WEB_SITE="http://www.directfb.org/index.php?path=Projects/DFBTerm"
WGET_URL="http://www.directfb.org/downloads/Programs/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="directfb lite freetype"
BUILD_DEPENDS="directfb-dev lite-dev freetype-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/pld-linux/DFBTerm/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/DFBTerm-\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
     ./configure \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/sbin $fs/usr
}

# Make sur it as cross compile properly
testsuite()
{
    readelf -h $install/usr/bin/$PACKAGE
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)