wok-next view libxklavier/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children e19ff076dc63
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-dev gobject-introspection-dev vala gtk-doc \
16 libx11-dev xorg-server-dev xkbcomp-dev libxkbfile-dev \
17 libxi-dev libxml2-dev iso-codes-dev"
18 SPLIT="$PACKAGE-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 libx11 libxi libxkbfile \
37 iso-codes"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libxklavier glib-dev libxml2-dev"
42 ;;
43 esac
44 }