wok annotate libxklavier/receipt @ rev 25012

Up python-xmlutils (1.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 16 19:42:25 2022 +0000 (2022-05-16)
parents 34e801e0eb52
children
rev   line source
al@14225 1 # SliTaz package receipt.
al@14225 2
al@14225 3 PACKAGE="libxklavier"
Hans-G?nter@21345 4 VERSION="5.4"
al@14225 5 CATEGORY="system-tools"
Hans-G?nter@21345 6 SHORT_DESC="Library providing high-level API for XKB."
al@14225 7 MAINTAINER="al.bobylev@gmail.com"
al@14225 8 LICENSE="GPL2"
Hans-G?nter@21345 9 WEB_SITE="https://freedesktop.org/wiki/Software/LibXklavier/"
Hans-G?nter@21345 10
pascal@25012 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25012 12 WGET_URL="https://gitlab.freedesktop.org/archived-projects/$PACKAGE/-/archive/$PACKAGE-$VERSION/$PACKAGE-$TARBALL"
al@14225 13
al@14225 14 DEPENDS="glib xorg-libXi xorg-libxkbfile"
Hans-G?nter@21348 15 BUILD_DEPENDS="automake file glib-dev gtk-doc iso-codes \
pascal@23046 16 xz gettext-tools libtool libxml2-dev xorg-xkbcomp"
al@14225 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - 'https://gitlab.freedesktop.org/archived-projects/libxklavier/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24497 22 sed '/libxklavier-[0-9]/!d;s|.*libxklavier-||;s|<.*||;q'
pascal@24497 23 }
pascal@24497 24
al@14225 25 # Rules to configure and make the package.
al@14225 26 compile_rules()
al@14225 27 {
Hans-G?nter@21345 28 ./autogen.sh &&
Hans-G?nter@21345 29 ./configure \
Hans-G?nter@21345 30 --disable-static \
Hans-G?nter@21345 31 --disable-gtk-doc \
Hans-G?nter@21345 32 --enable-xkb-support \
Hans-G?nter@21345 33 --enable-xmodmap-support\
al@14225 34 $CONFIGURE_ARGS &&
Hans-G?nter@21345 35 make -j 1 &&
al@14225 36 make install
al@14225 37 }
al@14225 38
al@14225 39 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 40 genpkg_rules()
al@14225 41 {
al@14225 42 mkdir -p $fs/usr/lib
al@14225 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14225 44 }