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

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents
children 7d6089953592
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="https://launchpad.net/gtkhotkey"
10 WGET_URL="https://launchpad.net/gtkhotkey/0.2/$VERSION/+download/$TARBALL"
12 DEPENDS="glib libgio gtk+"
13 BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -s $install/usr/lib/*.so* $fs/usr/lib
29 }