wok-6.x view gtkhotkey/receipt @ rev 22366

imlib: add patch for giflib >= 5 api
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 22 11:57:18 2019 +0100 (2019-11-22)
parents dfc51ce7954a
children 1bd2c6414e5a
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
20 sed -i 's|}/doc|}/share/doc|' Makefile*
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }