wok-next view libxkbcommon/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxkbcommon"
4 VERSION="0.7.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Keyboard handling library using XKB data"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="custom"
9 WEB_SITE="https://xkbcommon.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libxkbcommon.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://xkbcommon.org/download/$TARBALL"
15 BUILD_DEPENDS="xorg-libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev bison"
16 SPLIT="libxkbcommon-x11 libxkbcommon libxkbcommon-dev"
17 SIBLINGS="libxkbcommon-wayland"
19 compile_rules() {
20 ./configure \
21 --with-xkb-config-root=/usr/share/X11/xkb \
22 --docdir=/usr/share/doc/libxkbcommon-$VERSION \
23 --disable-wayland \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libxkbcommon-x11)
32 copy libxkbcommon-x11.so*
33 DEPENDS="libxkbcommon xorg-libXau xorg-libXdmcp xorg-libxcb \
34 xorg-xkeyboard-config xorg-libX11"
35 ;;
36 libxkbcommon)
37 copy @std @rm
38 DEPENDS=" "
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libxkbcommon libxkbcommon-x11 \
43 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
44 ;;
45 esac
46 }