wok-next annotate libxklavier/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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@21020 | 15 BUILD_DEPENDS="gettext-dev gobject-introspection-dev vala gtk-doc \ |
al@21020 | 16 xorg-libX11-dev xorg-server-dev xorg-xkbcomp-dev xorg-libxkbfile-dev \ |
al@21020 | 17 xorg-libXi-dev libxml2-dev iso-codes-dev" |
al@21020 | 18 SPLIT="$PACKAGE-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 } |