wok-current annotate gtkhotkey/receipt @ rev 25725
Patch openssh CVE-2024-6387
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jul 01 15:09:44 2024 +0000 (7 weeks ago) |
parents | f6af821600e6 |
children |
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" |
al@18803 | 6 SHORT_DESC="Platform independent hotkey handling for GTK+ applications." |
pascal@12907 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
al@18803 | 9 WEB_SITE="https://launchpad.net/gtkhotkey" |
pascal@12907 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18803 | 11 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@12907 | 12 |
pascal@12907 | 13 DEPENDS="glib libgio gtk+" |
pascal@12907 | 14 BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev" |
pascal@12907 | 15 |
pascal@24434 | 16 # What is the latest version available today? |
pascal@24434 | 17 current_version() |
pascal@24434 | 18 { |
pascal@24434 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 20 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 21 } |
pascal@24434 | 22 |
pascal@12907 | 23 # Rules to configure and make the package. |
al@18803 | 24 compile_rules() |
pascal@12907 | 25 { |
pascal@12907 | 26 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h |
pascal@19290 | 27 sed -i 's|}/doc|}/share/doc|' Makefile* |
pascal@12907 | 28 ./configure $CONFIGURE_ARGS && |
pascal@12907 | 29 make && make install |
pascal@12907 | 30 } |
pascal@12907 | 31 |
pascal@12907 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 33 genpkg_rules() |
pascal@12907 | 34 { |
pascal@12907 | 35 mkdir -p $fs/usr/lib |
al@18803 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 37 } |