wok-next annotate gtkhotkey/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 4396aed7eb01 |
children | f48456621a9d |
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" |
pascal@12907 | 7 MAINTAINER="pankso@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@20464 | 14 BUILD_DEPENDS="glib-dev gtk+-dev intltool" |
al@20464 | 15 SPLIT="gtkhotkey-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@20464 | 31 DEPENDS="glib gtk+" |
al@20464 | 32 ;; |
al@20464 | 33 *-dev) |
al@20464 | 34 copy @dev |
al@20464 | 35 ;; |
al@20464 | 36 esac |
pascal@12907 | 37 } |