wok-current view libxkbcommon/receipt @ rev 25672

patch tazpkg, upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 03 17:58:42 2024 +0000 (5 months ago)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxkbcommon"
4 VERSION="1.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Keyboard handling library using XKB data."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xkbcommon.org"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://xkbcommon.org/download/$TARBALL"
14 DEPENDS="libxcb xorg-xkeyboard-config"
15 BUILD_DEPENDS="bison libxcb-dev xorg-util-macros \
16 xorg-xkeyboard-config-dev meson"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 meson build \
29 --prefix=/usr \
30 --libdir=lib \
31 --bindir=/usr/bin \
32 --sbindir=/usr/sbin \
33 --buildtype=release \
34 -Denable-docs=false \
35 -Denable-wayland=false &&
36 ninja -C build &&
37 ninja -C build install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }