wok-next annotate libxklavier/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | f970ffe0add0 |
children | f48456621a9d |
rev | line source |
---|---|
pascal@19884 | 1 # SliTaz package receipt v2. |
al@14225 | 2 |
al@14225 | 3 PACKAGE="libxklavier" |
al@20095 | 4 VERSION="5.4" |
al@20095 | 5 CATEGORY="libs" |
al@14225 | 6 SHORT_DESC="Library providing high-level API for XKB" |
al@14225 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14225 | 8 LICENSE="GPL2" |
al@20095 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/LibXklavier/" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libxklavier.html" |
al@19893 | 11 |
al@14225 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20095 | 13 WGET_URL="https://people.freedesktop.org/~svu/$TARBALL" |
al@14225 | 14 |
al@20095 | 15 BUILD_DEPENDS="gettext gobject-introspection-dev vala gtk-doc xorg-libX11-dev \ |
al@20745 | 16 xorg-server-dev xorg-xkbcomp-dev xorg-libxkbfile-dev xorg-libXi-dev \ |
al@20745 | 17 iso-codes-dev" |
al@19893 | 18 SPLIT="libxklavier-dev" |
al@14225 | 19 |
al@20095 | 20 compile_rules() { |
al@14225 | 21 ./configure \ |
al@14225 | 22 --disable-static \ |
al@20095 | 23 \ |
al@14225 | 24 --enable-xkb-support \ |
al@14225 | 25 --enable-xmodmap-support \ |
al@14225 | 26 $CONFIGURE_ARGS && |
al@20595 | 27 fix libtool && |
al@14225 | 28 make && |
al@14225 | 29 make install |
al@14225 | 30 } |
al@14225 | 31 |
al@20095 | 32 genpkg_rules() { |
pascal@19884 | 33 case $PACKAGE in |
pascal@19884 | 34 libxklavier) |
al@19893 | 35 copy @std |
al@20748 | 36 DEPENDS="glib libxml2 xorg-libX11 xorg-libXi xorg-libxkbfile \ |
al@20748 | 37 iso-codes" |
pascal@19884 | 38 ;; |
al@20595 | 39 *-dev) |
al@19893 | 40 copy @dev |
al@20748 | 41 DEPENDS="libxklavier glib-dev libxml2-dev" |
pascal@19884 | 42 ;; |
pascal@19884 | 43 esac |
al@14225 | 44 } |