wok-6.x annotate libkeybinder/receipt @ rev 19923
lemon: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 20 10:46:08 2017 +0200 (2017-04-20) |
parents | 16df76e1fc6a |
children | e3f377fbc5f0 |
rev | line source |
---|---|
al@14138 | 1 # SliTaz package receipt. |
al@14138 | 2 |
al@14138 | 3 PACKAGE="libkeybinder" |
al@14138 | 4 VERSION="0.3.0" |
al@14138 | 5 CATEGORY="x-window" |
al@14138 | 6 SHORT_DESC="Library for registering global keyboard shortcuts" |
al@14138 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14714 | 8 LICENSE="GPL2" |
al@14138 | 9 WEB_SITE="http://kaizer.se/wiki/keybinder/" |
al@14138 | 10 SOURCE="keybinder" |
al@14138 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@14138 | 12 WGET_URL="http://kaizer.se/publicfiles/$SOURCE/$TARBALL" |
al@14138 | 13 |
al@14138 | 14 DEPENDS="gtk+" |
al@14138 | 15 BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \ |
pascal@19740 | 16 pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev" |
al@14138 | 17 |
al@14138 | 18 # Rules to configure and make the package. |
al@14138 | 19 compile_rules() |
al@14138 | 20 { |
pascal@14199 | 21 autoreconf -vif && |
pascal@19740 | 22 ./configure \ |
pascal@19740 | 23 --with-lua-suffix=5.1 \ |
pascal@19740 | 24 --with-lua-includes=/usr/include/lua/5.1 \ |
pascal@19740 | 25 $CONFIGURE_ARGS && |
pascal@19740 | 26 make && make install |
al@14138 | 27 } |
al@14138 | 28 |
al@14138 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14138 | 30 genpkg_rules() |
al@14138 | 31 { |
al@14138 | 32 mkdir -p $fs/usr/lib |
al@14138 | 33 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@14138 | 34 cp -a $install/usr/lib/python* $fs/usr/lib |
al@14138 | 35 } |
al@18077 | 36 |