wok view libxklavier/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 7bee98929640 |
children | affc6fdda56c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxklavier"
4 VERSION="5.4"
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="https://freedesktop.org/wiki/Software/LibXklavier/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://cgit.freedesktop.org/$PACKAGE/snapshot/$TARBALL"
14 DEPENDS="glib xorg-libXi xorg-libxkbfile"
15 BUILD_DEPENDS="automake file glib-dev gtk-doc iso-codes \
16 xz gettext-tools libtool libxml2-dev xorg-xkbcomp"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - 'https://gitlab.freedesktop.org/archived-projects/libxklavier/-/tags?sort=updated_desc' 2>/dev/null | \
22 sed '/libxklavier-[0-9]/!d;s|.*libxklavier-||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --disable-static \
31 --disable-gtk-doc \
32 --enable-xkb-support \
33 --enable-xmodmap-support\
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }