wok view libkeybinder/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 96acc984a52d
children 92b662c0aa2d
line source
1 # SliTaz package receipt.
3 PACKAGE="libkeybinder"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for registering global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/kupferlauncher/keybinder"
10 SOURCE="keybinder"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://kaizer.se/publicfiles/$SOURCE/$TARBALL"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
16 pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev gtk-doc"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/releases 2>/dev/null | \
22 sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -vif &&
29 ./configure \
30 --with-lua-suffix=5.1 \
31 --with-lua-includes=/usr/include/lua/5.1 \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*so* $fs/usr/lib
41 cp -a $install/usr/lib/python* $fs/usr/lib
42 }