wok-next annotate gtkhotkey/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="gtkhotkey" |
pascal@12907 | 4 VERSION="0.2.1" |
pascal@12907 | 5 CATEGORY="x-window" |
al@20464 | 6 SHORT_DESC="Platform independent hotkey handling for GTK+ applications" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
al@18803 | 9 WEB_SITE="https://launchpad.net/gtkhotkey" |
al@20464 | 10 |
pascal@12907 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18803 | 12 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@12907 | 13 |
al@21017 | 14 BUILD_DEPENDS="glib-dev gtk2-dev intltool" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@12907 | 16 |
al@20464 | 17 compile_rules() { |
pascal@12907 | 18 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h |
pascal@19290 | 19 sed -i 's|}/doc|}/share/doc|' Makefile* |
al@20575 | 20 |
pascal@12907 | 21 ./configure $CONFIGURE_ARGS && |
al@20575 | 22 fix libtool && |
al@20575 | 23 make && |
al@20575 | 24 make install |
pascal@12907 | 25 } |
pascal@12907 | 26 |
al@20464 | 27 genpkg_rules() { |
al@20464 | 28 case $PACKAGE in |
al@20464 | 29 gtkhotkey) |
al@20464 | 30 copy @std |
al@21017 | 31 DEPENDS="glib gtk2" |
al@20464 | 32 ;; |
al@20464 | 33 *-dev) |
al@20464 | 34 copy @dev |
al@20464 | 35 ;; |
al@20464 | 36 esac |
pascal@12907 | 37 } |