wok-6.x view libkeybinder/receipt @ rev 24291

modified sshttp (0.35s2)
author Hans-G?nter Theisgen
date Fri Jan 14 14:01:18 2022 +0100 (2022-01-14)
parents e3f377fbc5f0
children 96acc984a52d
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="http://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"
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf -vif &&
28 ./configure \
29 --with-lua-suffix=5.1 \
30 --with-lua-includes=/usr/include/lua/5.1 \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/lib/python* $fs/usr/lib
41 }