wok view libxklavier/receipt @ rev 25015

Add bzip3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 17 11:06:25 2022 +0000 (23 months ago)
parents 34e801e0eb52
children
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.gz"
12 WGET_URL="https://gitlab.freedesktop.org/archived-projects/$PACKAGE/-/archive/$PACKAGE-$VERSION/$PACKAGE-$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 }