Files
haikuports/x11-libs/xkeyboard-config/xkeyboard_config-2.41.recipe
2024-04-16 12:12:27 +02:00

54 lines
1.1 KiB
Bash

SUMMARY="X keyboard configuration database"
DESCRIPTION="This package contains configuration data used by the X Keyboard Extension (XKB), \
which allows selection of keyboard layouts when using a graphical interface."
HOMEPAGE="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
COPYRIGHT="1996 Joseph Moss
2002-2007 Free Software Foundation, Inc.
2003-2004 Dmitry Golubev
2004, Gregory Mokhin
2006 Erdal Ronahî"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/-/archive/xkeyboard-config-$portVersion/xkeyboard-config-xkeyboard-config-$portVersion.tar.bz2"
CHECKSUM_SHA256="1d4c51af50595ca7e56fd0b2e8a82d28160d6cc334c86032c5975ba7a3f49467"
SOURCE_DIR="xkeyboard-config-xkeyboard-config-$portVersion"
ARCHITECTURES="all"
PROVIDES="
xkeyboard_config = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:meson
cmd:ninja
cmd:perl
"
BUILD()
{
meson build \
--buildtype=release \
--prefix=$prefix \
--datadir=$dataDir \
--mandir=$manDir
ninja -C build
}
INSTALL()
{
ninja -C build install
}
TEST()
{
ninja -C build test
}