wok view xar/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | bff339676249 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xar"
4 VERSION="1.6.1"
5 CATEGORY="utilities"
6 SHORT_DESC="eXtensible ARchiver."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://mackyle.github.io/xar/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mackyle/xar/archive/refs/tags/$TARBALL"
14 DEPENDS="acl attr bzlib glibc-base libcrypto liblzma libxml2 zlib"
15 BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev e2fsprogs-dev automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/mackyle/xar/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/xar-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd xar
28 sed -e 's|.*EXT2_ECOMPR_FL)|#ifdef EXT2_ECOMPR_FL\n&|;s|EXT2_ECOMPR_FL .*|&\n#endif|' \
29 -e 's|.*CompError",|#ifdef EXT2_ECOMPR_FL\n&|;s|CompError").*|&\n#endif|' \
30 -i lib/ext2.c
31 ./autogen.sh &&
32 ./configure $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share/mime/packages
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }