wok view gtkhotkey/receipt @ rev 20782

added libtool to check build dependencies
author Hans-G?nter Theisgen
date Thu Feb 14 14:57:20 2019 +0100 (2019-02-14)
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 }