wok view libxkbcommon/receipt @ rev 25511

memtest: 386 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 17:17:56 2023 +0000 (20 months ago)
parents 7d9952286cb0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxkbcommon"
4 VERSION="0.8.4"
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 xorg-xkeyboard-config-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --with-xkb-config-root=/usr/share/X11/xkb \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }