wok view gtkhotkey/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (17 months ago)
parents dfc51ce7954a
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 # 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 }