wok-next view libxklavier/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | dd2a2e1ab4d9 |
children | b367284a8ac3 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxklavier"
4 VERSION="5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library providing high-level API for XKB"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://freedesktop.org/wiki/Software/LibXklavier"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/gswitchit/libxklavier/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libxml2-dev glib-dev xorg-xkbcomp iso-codes xorg-dev"
15 SPLIT="libxklavier-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 --disable-gtk-doc \
23 --enable-xkb-support \
24 --enable-xmodmap-support \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libxklavier)
35 copy @std
36 DEPENDS="glib libxml2 xorg-libX11 xorg-libXi xorg-libxkbfile"
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 }