wok-next view libxklavier/receipt @ rev 20116
gimp: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 17:57:51 2017 +0100 (2017-10-30) |
parents | 60bd4df08f57 |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxklavier"
4 VERSION="5.4"
5 CATEGORY="libs"
6 SHORT_DESC="Library providing high-level API for XKB"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/LibXklavier/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libxklavier.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://people.freedesktop.org/~svu/$TARBALL"
15 BUILD_DEPENDS="gettext gobject-introspection-dev vala gtk-doc xorg-libX11-dev \
16 xorg-server-dev xorg-xkbcomp-dev xorg-libxkbfile-dev xorg-libXi-dev iso-codes"
17 SPLIT="libxklavier-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 \
23 --enable-xkb-support \
24 --enable-xmodmap-support \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libxklavier)
33 copy @std
34 DEPENDS="glib libffi liblzma libxml2 pcre xorg-libX11 xorg-libXau \
35 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libxcb xorg-libxkbfile \
36 zlib iso-codes"
37 ;;
38 libxklavier-dev)
39 copy @dev
40 DEPENDS="libxklavier glib-dev libffi-dev libxml2-dev pcre-dev \
41 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
42 xorg-libXi-dev xorg-libxcb-dev xorg-libxkbfile-dev xz-dev zlib-dev"
43 ;;
44 esac
45 }