wok diff xar/receipt @ rev 25584
Update some web_site / wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 02 17:42:43 2023 +0000 (13 months ago) |
parents | ac8ca9758df1 |
children | 0ce13f3a8b96 |
line diff
1.1 --- a/xar/receipt Sat Jan 15 15:21:40 2022 +0000 1.2 +++ b/xar/receipt Fri Jun 02 17:42:43 2023 +0000 1.3 @@ -9,11 +9,12 @@ 1.4 WEB_SITE="https://mackyle.github.io/xar/" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WGET_URL="https://github.com/downloads/mackyle/xar/$TARBALL" 1.8 +WGET_URL="https://github.com/mackyle/xar/archive/refs/tags/$TARBALL" 1.9 1.10 DEPENDS="acl attr bzlib glibc-base libcrypto liblzma libxml2 zlib" 1.11 -BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev" 1.12 +BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev automake" 1.13 1.14 +# What is the latest version available today? 1.15 current_version() 1.16 { 1.17 wget -O - https://github.com/mackyle/xar/tags 2>/dev/null | \ 1.18 @@ -23,6 +24,11 @@ 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 + cd xar 1.23 + sed -e 's|.*EXT2_ECOMPR_FL)|#ifdef EXT2_ECOMPR_FL\n&|;s|EXT2_ECOMPR_FL .*|&\n#endif|' \ 1.24 + -e 's|.*CompError",|#ifdef EXT2_ECOMPR_FL\n&|;s|CompError").*|&\n#endif|' \ 1.25 + -i lib/ext2.c 1.26 + ./autogen.sh && 1.27 ./configure $CONFIGURE_ARGS && 1.28 make && 1.29 make install