SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "numlockx"

#SliTaz package receipt.

PACKAGE="numlockx"
VERSION="1.2"
CATEGORY="x-window"
SHORT_DESC="Turns on the numlock key in X11"
MAINTAINER="mojo@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://freecode.com/projects/numlockx"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL/be9109370447eae23f6f3f8527bb1a67/$TARBALL"

DEPENDS="xorg-libXtst"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)