wok view xorg-xkeyboard-config/receipt @ rev 19786
binutils: depends on flex (ar, ranlib)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 15:22:41 2017 +0200 (2017-02-22) |
parents | eb8067417980 |
children | 814c58f64f83 |
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="http://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 }