wok-6.x annotate xorg-libxkbfile/receipt @ rev 24687

Up musl-libc (1.2.2) CVE-2020-28928
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 11:02:58 2022 +0000 (2022-03-12)
parents 8ebb583f19f2
children
rev   line source
pankso@87 1 # SliTaz package receipt.
pankso@87 2
pankso@87 3 PACKAGE="xorg-libxkbfile"
Hans-G?nter@22237 4 VERSION="1.1.0"
pankso@87 5 CATEGORY="x-window"
pankso@87 6 SHORT_DESC="Xorg server keyboard library."
pankso@87 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22237 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22237 10
pankso@87 11 SOURCE="libxkbfile"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@87 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
Hans-G?nter@22237 14
Hans-G?nter@22237 15 DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXdmcp"
Hans-G?nter@22237 16 BUILD_DEPENDS="libxcb-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
Hans-G?nter@22237 17
pankso@16021 18 HOST_ARCH="i486 arm"
pankso@87 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@87 26 # Rules to configure and make the package.
pankso@87 27 compile_rules()
pankso@87 28 {
Hans-G?nter@22237 29 ./configure \
Hans-G?nter@22237 30 --sysconfdir=/etc \
Hans-G?nter@22237 31 --localstatedir=/var \
pankso@16021 32 $CONFIGURE_ARGS &&
pankso@16021 33 make &&
pankso@16021 34 make DESTDIR=$DESTDIR install
pankso@87 35 }
pankso@87 36
pankso@87 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@87 38 genpkg_rules()
pankso@87 39 {
pankso@87 40 mkdir -p $fs/usr/lib
Hans-G?nter@22237 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@87 42 }