SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libtermkey"

# SliTaz package receipt.

PACKAGE="libtermkey"
VERSION="0.22"
CATEGORY="libs"
SHORT_DESC="Library for easy processing of keyboard entry from terminal-based programs."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://www.leonerd.org.uk/code/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://www.leonerd.org.uk/code/$PACKAGE/$TARBALL"

BUILD_DEPENDS="libtool unibilium-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/libtermkey 2>/dev/null | \
    sed '/tar.gz/!d;s|.*key-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make    PREFIX=/usr &&
    make    install PREFIX=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)