wok annotate libkeybinder/receipt @ rev 24986
Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed May 11 08:28:28 2022 -0400 (2022-05-11) |
parents | 96acc984a52d |
children | 92b662c0aa2d |
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" |
pascal@20673 | 9 WEB_SITE="https://github.com/kupferlauncher/keybinder" |
al@14138 | 10 SOURCE="keybinder" |
al@14138 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24972 | 12 WGET_URL="https://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@24773 | 16 pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev gtk-doc" |
al@14138 | 17 |
pascal@24773 | 18 # What is the latest version available today? |
pascal@24071 | 19 current_version() |
pascal@24071 | 20 { |
pascal@24071 | 21 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24071 | 22 sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24071 | 23 } |
pascal@24071 | 24 |
al@14138 | 25 # Rules to configure and make the package. |
al@14138 | 26 compile_rules() |
al@14138 | 27 { |
pascal@14199 | 28 autoreconf -vif && |
pascal@19740 | 29 ./configure \ |
pascal@19740 | 30 --with-lua-suffix=5.1 \ |
pascal@19740 | 31 --with-lua-includes=/usr/include/lua/5.1 \ |
pascal@19740 | 32 $CONFIGURE_ARGS && |
pascal@19740 | 33 make && make install |
al@14138 | 34 } |
al@14138 | 35 |
al@14138 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14138 | 37 genpkg_rules() |
al@14138 | 38 { |
al@14138 | 39 mkdir -p $fs/usr/lib |
al@14138 | 40 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@14138 | 41 cp -a $install/usr/lib/python* $fs/usr/lib |
al@14138 | 42 } |
al@18077 | 43 |