mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
xkeyboard-config: add recipe
This commit is contained in:
53
x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe
Normal file
53
x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
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://github.com/freedesktop/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="https://github.com/freedesktop/xkeyboard-config/archive/refs/tags/xkeyboard-config-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3f578ae674d9a01a6d0bba23f3ff55b9e07c335e7bb81e9eb192eb8efde0176b"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user