wok-current view libarchive/receipt @ rev 25730

Fix depend for xorg-server (libxshmfence)
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 13:05:56 2024 +0000 (8 days ago)
parents bf7fc7b1447c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libarchive"
4 VERSION="3.7.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library and command line tool for reading archive."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/libarchive/libarchive"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="acl bzlib libcrypto liblzma libxml2 lz4-lib zlib zstd"
15 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev \
16 lz4-dev openssl-dev zlib-dev"
18 HOST_ARCH="i486 x86_64"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/libarchive/libarchive/releases 2>/dev/null | \
24 sed '/libarchive-[0-9]/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 cook_copy_files *.so*
44 }