wok-6.x annotate libkeybinder/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | bd7510903310 |
children |
rev | line source |
---|---|
al@14138 | 1 # SliTaz package receipt. |
al@14138 | 2 |
al@14138 | 3 PACKAGE="libkeybinder" |
pascal@25095 | 4 VERSION="0.3.1" |
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@25095 | 12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$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 |