wok view libkeybinder/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | bd7510903310 |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libkeybinder"
4 VERSION="0.3.1"
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://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$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 }