wok-current view xorg-fixesproto/receipt @ rev 25692

Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 22 16:28:42 2024 +0000 (3 months ago)
parents a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-fixesproto"
4 VERSION="6.0"
5 RVERSION="5.0"
6 CATEGORY="development"
7 SHORT_DESC="X Fixes extension headers"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="other"
10 WEB_SITE="https://www.x.org/"
11 SOURCE="fixesproto"
12 TARBALL="$SOURCE-$RVERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 HOST_ARCH="i486 arm"
16 DEPENDS="xorg-xextproto xorg-xproto pkg-config"
17 BUILD_DEPENDS="xorg-util-macros"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Patch to bump 6.0
29 # see https://build.opensuse.org/package/show/openSUSE:Leap:15.5/fixesproto
30 patch -p1 < $stuff/fixesproto-6.0.patch
32 ./configure \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/licenses
44 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
46 cp -a $install/* $fs
47 rm -rf $fs/usr/share/doc
49 # Ensure remove .la files
50 find $fs -name "*.la" -delete
51 }