wok-current view xorg-xkeyboard-config/receipt @ rev 21106

updated lfs-book (7.3 -> 8.4)
author Hans-G?nter Theisgen
date Tue Mar 19 13:56:25 2019 +0100 (2019-03-19)
parents 7bae09de1061
children 163749a66454
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xkeyboard-config"
4 VERSION="2.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server keyboard definition files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xkeyboard-config"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/data/$SOURCE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-xkbcomp"
16 BUILD_DEPENDS="perl-xml-parser xorg-xkbcomp xorg-xproto xorg-libX11-dev intltool"
18 # Handle cross compilation. Use build host: xorg-xkbcomp perl-xml-parser
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="xorg-xproto xorg-libX11-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --with-xkb-base=/usr/share/X11/xkb \
30 --with-xkb-rules-symlink=xorg \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/share/X11 $fs/usr/share
40 }