commit 69c2ad95b0c745a5ff8682f845ef9d7028ee5d66
parent fb2d807ad3fdd7d0fc498c4c7870e382eef6800d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 14 Jun 2014 21:14:52 +0200
add xorgxkeyboardconfig
initial rough version
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
4 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/xorgxkeyboardconfig/checksums b/xorgxkeyboardconfig/checksums
@@ -0,0 +1 @@
+9ad2f8c65b2e2734da7ca3dcc29eff019132c168cacc607dc364bc6983dc88d3b1e0cae6921b27871b78c8448ddf15c2b1f90482114c427041193dba3b7bc8fd xkeyboard-config-2.11.tar.bz2
diff --git a/xorgxkeyboardconfig/mkfile b/xorgxkeyboardconfig/mkfile
@@ -0,0 +1,6 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+src = xkeyboard-config-$v
+url = http://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/xkeyboard-config-$v.tar.bz2
+mkfile = ../xorgxkeyboardconfig.mk
diff --git a/xorgxkeyboardconfig/v.mk b/xorgxkeyboardconfig/v.mk
@@ -0,0 +1 @@
+v = 2.11
diff --git a/xorgxkeyboardconfig/xorgxkeyboardconfig.mk b/xorgxkeyboardconfig/xorgxkeyboardconfig.mk
@@ -0,0 +1,23 @@
+# runtime deps: xorgxkbcomp
+# make deps: intltool, XML::Parser (p5-xml-parser perl module).
+TARG = xorgxkeyboardconfig
+
+<$mkbuild/mk.common-noinst
+
+$TARG:QV:
+ CC="$CC -static" ./configure \
+ --prefix="$PREFIX" \
+ --mandir="$ROOT/share/man" \
+ --disable-shared \
+ --disable-nls \
+ --disable-runtime-deps \
+ --with-xkb-base="$PREFIX/share/X11/xkb" \
+ --with-xkb-rules-symlink=xorg \
+ --enable-static
+ for i in po ; do
+ printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile
+ done
+ make -j$nprocs
+
+install:QV:
+ make -j$nprocs install DESTDIR="$ROOT"