wok-next view libxklavier/receipt @ rev 21238
updated codeblocks (10.05 -> 17.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 04 17:03:37 2019 +0100 (2019-12-04) |
parents | 5669e8b3be70 |
children |
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 COOKOPTS="force-arch" # different .vapi
17 BUILD_DEPENDS="gettext-dev gobject-introspection-dev vala gtk-doc \
18 libx11-dev xorg-server-dev xkbcomp-dev libxkbfile-dev \
19 libxi-dev libxml2-dev iso-codes-dev"
20 SPLIT="$PACKAGE-dev"
22 compile_rules() {
23 ./configure \
24 --disable-static \
25 \
26 --enable-xkb-support \
27 --enable-xmodmap-support \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libxklavier)
37 copy @std
38 DEPENDS="glib libxml2 libx11 libxi libxkbfile \
39 iso-codes"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libxklavier glib-dev libxml2-dev"
44 ;;
45 esac
46 }