wok-next view libxkbcommon/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | e756329576c3 |
children | 757d032c55c7 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-xkb-config-root=/usr/share/X11/xkb \
26 --docdir=/usr/share/doc/libxkbcommon-$VERSION \
27 --disable-wayland \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 libxkbcommon-x11)
37 copy libxkbcommon-x11.so*
38 DEPENDS="libxkbcommon xorg-libXau xorg-libXdmcp xorg-libxcb \
39 xorg-xkeyboard-config xorg-libX11"
40 ;;
41 libxkbcommon)
42 copy @std @rm
43 DEPENDS=" "
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="libxkbcommon libxkbcommon-x11 \
48 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
49 ;;
50 esac
51 }