wok-next annotate gtkhotkey/receipt @ rev 13855
slitaz-menus: make System category less strict
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 10 01:26:02 2013 +0000 (2013-01-10) |
parents | |
children | 7d6089953592 |
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" |
pascal@12907 | 6 SHORT_DESC="Platform independent hotkey handling for Gtk+ applications." |
pascal@12907 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@12907 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12907 | 9 WEB_SITE="https://launchpad.net/gtkhotkey" |
pascal@12907 | 10 WGET_URL="https://launchpad.net/gtkhotkey/0.2/$VERSION/+download/$TARBALL" |
pascal@12907 | 11 |
pascal@12907 | 12 DEPENDS="glib libgio gtk+" |
pascal@12907 | 13 BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev" |
pascal@12907 | 14 |
pascal@12907 | 15 # Rules to configure and make the package. |
pascal@12907 | 16 compile_rules() |
pascal@12907 | 17 { |
pascal@12907 | 18 cd $src |
pascal@12907 | 19 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h |
pascal@12907 | 20 ./configure $CONFIGURE_ARGS && |
pascal@12907 | 21 make && make install |
pascal@12907 | 22 } |
pascal@12907 | 23 |
pascal@12907 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 25 genpkg_rules() |
pascal@12907 | 26 { |
pascal@12907 | 27 mkdir -p $fs/usr/lib |
pascal@12907 | 28 cp -s $install/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 29 } |