SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libkeybinder"

# SliTaz package receipt.

PACKAGE="libkeybinder"
VERSION="0.3.1"
CATEGORY="x-window"
SHORT_DESC="Library for registering global keyboard shortcuts"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://github.com/kupferlauncher/keybinder"
SOURCE="keybinder"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$TARBALL"

DEPENDS="gtk+"
BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev gtk-doc"

HOST_ARCH="i486 x86_64"

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

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -vif &&
    ./configure \
        --with-lua-suffix=5.1 \
        --with-lua-includes=/usr/include/lua/5.1 \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*so* $fs/usr/lib
    cp -a $install/usr/lib/python* $fs/usr/lib

        # Ensure remove .la files
        find $fs -name "*.la" -delete
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)