wok-next view libxklavier/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents e4425aeb7078
children d5aab818505e
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/svn/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 \
17 iso-codes-dev"
18 SPLIT="libxklavier-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 \
24 --enable-xkb-support \
25 --enable-xmodmap-support \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libxklavier)
35 copy @std
36 DEPENDS="glib libxml2 xorg-libX11 xorg-libXi xorg-libxkbfile \
37 iso-codes"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libxklavier glib-dev libxml2-dev"
42 ;;
43 esac
44 }