wok-current view gtkhotkey/receipt @ rev 24841

updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author Hans-G?nter Theisgen
date Fri Mar 25 09:32:35 2022 +0100 (2022-03-25)
parents f6af821600e6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkhotkey"
4 VERSION="0.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Platform independent hotkey handling for GTK+ applications."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://launchpad.net/gtkhotkey"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
13 DEPENDS="glib libgio gtk+"
14 BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Latest version is/!d;s|.*is ||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
27 sed -i 's|}/doc|}/share/doc|' Makefile*
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }