wok-next annotate libxklavier/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | 5669e8b3be70 |
children |
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@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21094 | 15 COOKOPTS="force-arch" # different .vapi |
al@21094 | 16 |
al@21020 | 17 BUILD_DEPENDS="gettext-dev gobject-introspection-dev vala gtk-doc \ |
al@21078 | 18 libx11-dev xorg-server-dev xkbcomp-dev libxkbfile-dev \ |
al@21078 | 19 libxi-dev libxml2-dev iso-codes-dev" |
al@21020 | 20 SPLIT="$PACKAGE-dev" |
al@14225 | 21 |
al@20095 | 22 compile_rules() { |
al@14225 | 23 ./configure \ |
al@14225 | 24 --disable-static \ |
al@20095 | 25 \ |
al@14225 | 26 --enable-xkb-support \ |
al@14225 | 27 --enable-xmodmap-support \ |
al@14225 | 28 $CONFIGURE_ARGS && |
al@20595 | 29 fix libtool && |
al@14225 | 30 make && |
al@14225 | 31 make install |
al@14225 | 32 } |
al@14225 | 33 |
al@20095 | 34 genpkg_rules() { |
pascal@19884 | 35 case $PACKAGE in |
pascal@19884 | 36 libxklavier) |
al@19893 | 37 copy @std |
al@21078 | 38 DEPENDS="glib libxml2 libx11 libxi libxkbfile \ |
al@20748 | 39 iso-codes" |
pascal@19884 | 40 ;; |
al@20595 | 41 *-dev) |
al@19893 | 42 copy @dev |
al@20748 | 43 DEPENDS="libxklavier glib-dev libxml2-dev" |
pascal@19884 | 44 ;; |
pascal@19884 | 45 esac |
al@14225 | 46 } |