wok annotate gtkhotkey/receipt @ rev 21656
updated p910nd (0.95 -> 0.97)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 31 15:41:03 2019 +0100 (2019-05-31) |
parents | dfc51ce7954a |
children | 1bd2c6414e5a |
rev | line source |
---|---|
pascal@12907 | 1 # SliTaz package receipt. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="gtkhotkey" |
pascal@12907 | 4 VERSION="0.2.1" |
pascal@12907 | 5 CATEGORY="x-window" |
al@18803 | 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" |
pascal@12907 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18803 | 11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@12907 | 12 |
pascal@12907 | 13 DEPENDS="glib libgio gtk+" |
pascal@12907 | 14 BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev" |
pascal@12907 | 15 |
pascal@12907 | 16 # Rules to configure and make the package. |
al@18803 | 17 compile_rules() |
pascal@12907 | 18 { |
pascal@12907 | 19 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h |
pascal@19290 | 20 sed -i 's|}/doc|}/share/doc|' Makefile* |
pascal@12907 | 21 ./configure $CONFIGURE_ARGS && |
pascal@12907 | 22 make && make install |
pascal@12907 | 23 } |
pascal@12907 | 24 |
pascal@12907 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 26 genpkg_rules() |
pascal@12907 | 27 { |
pascal@12907 | 28 mkdir -p $fs/usr/lib |
al@18803 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 30 } |