SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yacpi"

# SliTaz package receipt.

PACKAGE="yacpi"
VERSION="3.0.1"
CATEGORY="utilities"
SHORT_DESC="Yet Another Configuration and Power Interface."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.ngolde.de/yacpi.html"
WGET_URL="http://www.ngolde.de/download/$TARBALL"

DEPENDS="ncurses libacpi"
BUILD_DEPENDS="ncurses-dev libacpi-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|lncurses|& -ltinfo|' Makefile
    make 
}

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