wok-next view gtkhotkey/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 4396aed7eb01 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="glib-dev gtk+-dev intltool"
15 SPLIT="gtkhotkey-dev"
17 compile_rules() {
18 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h
19 sed -i 's|}/doc|}/share/doc|' Makefile*
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 gtkhotkey)
30 copy @std
31 DEPENDS="glib gtk+"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }