wok-next view gtkhotkey/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkhotkey"
4 VERSION="0.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Platform independent hotkey handling for GTK+ applications"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://launchpad.net/gtkhotkey"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="glib-dev gtk2-dev intltool"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
19 sed -i 's|}/doc|}/share/doc|' Makefile*
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 gtkhotkey)
30 copy @std
31 DEPENDS="glib gtk2"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }