SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ratpoison"

# SliTaz package receipt.

PACKAGE="ratpoison"
VERSION="1.4.9"
CATEGORY="x-window"
TAGS="window-manager"
SHORT_DESC="An extremely light-weight window manager, using only keyboard."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.nongnu.org/ratpoison/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"

DEPENDS="microperl xorg-libXinerama xorg-libXtst"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure &&
    make CFLAGS="$CFLAGS -DHAVE_GETLINE" &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/share/ratpoison    $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)