wok annotate libxkbcommon/receipt @ rev 24736

updated libev and libev-dev (4.31 -> 4.33)
author Hans-G?nter Theisgen
date Wed Mar 16 09:25:45 2022 +0100 (2022-03-16)
parents 7d9952286cb0
children
rev   line source
pankso@16193 1 # SliTaz package receipt.
pankso@16193 2
pankso@16193 3 PACKAGE="libxkbcommon"
Hans-G?nter@21344 4 VERSION="0.8.4"
pankso@16193 5 CATEGORY="x-window"
pankso@16193 6 SHORT_DESC="Keyboard handling library using XKB data."
pankso@16193 7 MAINTAINER="pankso@slitaz.org"
Hans-G?nter@21344 8 LICENSE="MIT"
Hans-G?nter@21344 9 WEB_SITE="https://xkbcommon.org"
Hans-G?nter@21344 10
pankso@16193 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20671 12 WGET_URL="https://xkbcommon.org/download/$TARBALL"
pankso@16193 13
Hans-G?nter@21344 14 DEPENDS="libxcb xorg-xkeyboard-config"
Hans-G?nter@21344 15 BUILD_DEPENDS="bison libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev"
pankso@16193 16
pascal@24447 17 # What is the latest version available today?
pascal@24447 18 current_version()
pascal@24447 19 {
pascal@24447 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 22 }
pascal@24447 23
pankso@16193 24 # Rules to configure and make the package.
pankso@16193 25 compile_rules()
pankso@16193 26 {
Hans-G?nter@21344 27 ./configure \
Hans-G?nter@21344 28 --with-xkb-config-root=/usr/share/X11/xkb \
pankso@16193 29 $CONFIGURE_ARGS &&
Hans-G?nter@21344 30 make -j 1 &&
Hans-G?nter@21344 31 make install
pankso@16193 32 }
pankso@16193 33
pankso@16193 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16193 35 genpkg_rules()
pankso@16193 36 {
pankso@16193 37 mkdir -p $fs/usr/lib
pankso@16193 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16193 39 }