wok-next view libxklavier/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | b367284a8ac3 |
children | f970ffe0add0 |
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 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libxklavier)
34 copy @std
35 DEPENDS="glib libffi liblzma libxml2 pcre xorg-libX11 xorg-libXau \
36 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libxcb xorg-libxkbfile \
37 zlib iso-codes"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libxklavier glib-dev libffi-dev libxml2-dev pcre-dev \
42 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
43 xorg-libXi-dev xorg-libxcb-dev xorg-libxkbfile-dev xz-dev zlib-dev"
44 ;;
45 esac
46 }