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

Up bcrelay (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 17:04:09 2020 +0000 (2020-04-06)
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 }