# SliTaz package receipt.

PACKAGE="xorg-xkeyboard-config"
VERSION="2.32"
CATEGORY="x-window"
SHORT_DESC="Keyboard configuration database for the X Window System"
MAINTAINER="pankso@slitaz.org"
DEPENDS=""
BUILD_DEPENDS="python3 libxslt xorg-xproto xorg-libX11-dev"
SOURCE="xkeyboard-config"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/data/$SOURCE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
    	--prefix=/usr \
    	--sysconfdir=/etc \
    	--mandir=/usr/share/man \
    	--localstatedir=/var \
    	--with-xkb-base=/usr/share/X11/xkb \
    	--with-xkb-rules-symlink=xorg \
    	$CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/share/X11 $fs/usr/share
}