]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = libarchive |
146b53ac | 7 | version = 3.7.2 |
fb0b5f5a | 8 | release = 1.1 |
4d5df873 | 9 | |
802ea3af | 10 | groups = System/Libraries |
146b53ac | 11 | url = https://www.libarchive.org/ |
802ea3af | 12 | license = BSD |
fb50fbb2 | 13 | summary = A library for handling streaming archive formats |
4d5df873 | 14 | |
802ea3af | 15 | description |
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 |
21 | end |
22 | ||
22f5333f | 23 | source_dl = https://www.libarchive.org/downloads/ |
802ea3af MT |
24 | |
25 | build | |
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 | |
61 | end | |
62 | ||
63 | packages | |
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 | 73 | end |