SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "linuxconsoletools"

# SliTaz package receipt.

PACKAGE="linuxconsoletools"
VERSION="1.7.1"
CATEGORY="system-tools"
SHORT_DESC="Configure joysticks, or connect legacy input devices."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://sourceforge.net/projects/linuxconsole/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL"

DEPENDS="gcc83-lib-base libsdl2"
BUILD_DEPENDS="gcc83 libsdl2-dev"

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

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

    make            \
        CC=gcc-83    \
        CXX=g++-83 &&
    make    install        \
        DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    joystick
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)