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"

# 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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)