]> git.ipfire.org Git - ipfire-3.x.git/blame - libarchive/libarchive.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / libarchive / libarchive.nm
CommitLineData
4d5df873 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4d5df873
MT
4###############################################################################
5
802ea3af 6name = libarchive
146b53ac 7version = 3.7.2
fb0b5f5a 8release = 1.1
4d5df873 9
802ea3af 10groups = System/Libraries
146b53ac 11url = https://www.libarchive.org/
802ea3af 12license = BSD
fb50fbb2 13summary = A library for handling streaming archive formats
4d5df873 14
802ea3af 15description
fb50fbb2
MT
16 Libarchive is a programming library that can create and read several
17 different streaming archive formats, including most popular tar
18 variants, several cpio formats, and both BSD and GNU ar variants.
19 It can also write shar archives and read ISO9660 CDROM images and ZIP
20 archives.
802ea3af
MT
21end
22
22f5333f 23source_dl = https://www.libarchive.org/downloads/
802ea3af
MT
24
25build
26 requires
27 bison
28 bzip2-devel
29 e2fsprogs-devel
fb50fbb2 30 expat-devel
802ea3af
MT
31 libacl-devel
32 libattr-devel
fb50fbb2
MT
33 lzo-devel
34 nettle-devel
802ea3af
MT
35 openssl-devel
36 xz-devel
37 zlib-devel
22f5333f 38 zstd-devel
802ea3af
MT
39 end
40
41 configure_options += \
fb50fbb2
MT
42 --enable-acl \
43 --enable-xattr \
802ea3af
MT
44 --disable-static \
45 --disable-bsdtar \
fb50fbb2 46 --disable-bsdcpio \
fb50fbb2
MT
47 --with-expat \
48 --with-lzo2 \
49 --with-nettle \
2fe64477 50 --with-xz \
fb50fbb2 51 --with-zlib \
2fe64477 52 --with-zstd
fb50fbb2
MT
53
54 test
22f5333f 55 LD_LIBRARY_PATH=$(pwd)/src/.libs make check || :
fb50fbb2 56 end
802ea3af
MT
57
58 install_cmds
59 rm -rfv %{BUILDROOT}/usr/share/man/man5/{cpio,mtree,tar}.5
60 end
61end
62
63packages
64 package %{name}
1f9bc2f0 65
802ea3af
MT
66 package %{name}-devel
67 template DEVEL
68 end
1f9bc2f0
MT
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
802ea3af 73end