wok-next view libxkbcommon/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | c358d2c8fa30 |
children | e756329576c3 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxkbcommon"
4 VERSION="0.7.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Keyboard handling library using XKB data"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="custom"
9 WEB_SITE="http://xkbcommon.org"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://xkbcommon.org/download/$TARBALL"
14 BUILD_DEPENDS="xorg-libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev bison"
15 SPLIT="libxkbcommon-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/general/libxkbcommon.html
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-xkb-config-root=/usr/share/X11/xkb \
25 --docdir=/usr/share/doc/libxkbcommon-$VERSION \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libxkbcommon)
35 copy @std
36 DEPENDS="xorg-libXau xorg-libXdmcp xorg-libxcb \
37 xorg-xkeyboard-config"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libxkbcommon \
42 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
43 ;;
44 esac
45 }