wok annotate libkeybinder/receipt @ rev 24305
created recipe for ctypes.sh
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 17 15:56:03 2022 +0100 (2022-01-17) |
parents | e3f377fbc5f0 |
children | 96acc984a52d |
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" |
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 |
pascal@24071 | 18 current_version() |
pascal@24071 | 19 { |
pascal@24071 | 20 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24071 | 21 sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24071 | 22 } |
pascal@24071 | 23 |
al@14138 | 24 # Rules to configure and make the package. |
al@14138 | 25 compile_rules() |
al@14138 | 26 { |
pascal@14199 | 27 autoreconf -vif && |
pascal@19740 | 28 ./configure \ |
pascal@19740 | 29 --with-lua-suffix=5.1 \ |
pascal@19740 | 30 --with-lua-includes=/usr/include/lua/5.1 \ |
pascal@19740 | 31 $CONFIGURE_ARGS && |
pascal@19740 | 32 make && make install |
al@14138 | 33 } |
al@14138 | 34 |
al@14138 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14138 | 36 genpkg_rules() |
al@14138 | 37 { |
al@14138 | 38 mkdir -p $fs/usr/lib |
al@14138 | 39 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@14138 | 40 cp -a $install/usr/lib/python* $fs/usr/lib |
al@14138 | 41 } |
al@18077 | 42 |