wok-next view libxkbcommon/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 133288c02003 |
children | d43bf7aae921 |
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
43 remove_already_packed
44 DEPENDS=" "
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="libxkbcommon libxkbcommon-x11 \
49 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
50 ;;
51 esac
52 }