wok annotate libarchive/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (3 months ago)
parents 7364ffdaaa60
children
rev   line source
erjo@3653 1 # SliTaz package receipt.
erjo@3653 2
erjo@3653 3 PACKAGE="libarchive"
pascal@25669 4 VERSION="3.7.2"
pankso@4805 5 CATEGORY="system-tools"
erkan@20342 6 SHORT_DESC="C library and command line tool for reading archive."
erjo@3653 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="BSD"
pascal@25362 9 WEB_SITE="https://github.com/libarchive/libarchive"
Hans-G?nter@21112 10
pascal@25435 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@25435 12 WGET_URL="${WEB_SITE}/releases/download/v$VERSION/$TARBALL"
erjo@3653 13
Hans-G?nter@21112 14 DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib"
Hans-G?nter@24718 15 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev
Hans-G?nter@21112 16 openssl-dev zlib-dev"
pascal@15472 17
pascal@24465 18 # What is the latest version available today?
pascal@24465 19 current_version()
pascal@24465 20 {
pascal@24465 21 wget -O - https://github.com/libarchive/libarchive/releases 2>/dev/null | \
pascal@25600 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24465 23 }
pascal@24465 24
erjo@3653 25 # Rules to configure and make the package.
erjo@3653 26 compile_rules()
erjo@3653 27 {
Hans-G?nter@21112 28 ./configure \
Hans-G?nter@21112 29 --prefix=/usr \
Hans-G?nter@21112 30 --infodir=/usr/share/info \
Hans-G?nter@21112 31 --mandir=/usr/share/man \
erjo@3653 32 $CONFIGURE_ARGS &&
Hans-G?nter@23003 33 make &&
Hans-G?nter@24718 34 make install DESTDIR=$DESTDIR
erjo@3653 35 }
erjo@3653 36
erjo@3653 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3653 38 genpkg_rules()
erjo@3653 39 {
Hans-G?nter@24718 40 cook_copy_folders bin
Hans-G?nter@24718 41 cook_copy_files *.so*
erjo@3653 42 }