]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - libarchive/libarchive.nm
libarchive: Update to 3.6.1
[people/stevee/ipfire-3.x.git] / libarchive / libarchive.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libarchive
7 version = 3.6.1
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.libarchive.org/
12 license = BSD
13 summary = A library for handling streaming archive formats
14
15 description
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.
21 end
22
23 source_dl = https://www.libarchive.org/downloads/
24
25 build
26 requires
27 bison
28 bzip2-devel
29 e2fsprogs-devel
30 expat-devel
31 libacl-devel
32 libattr-devel
33 lzo-devel
34 nettle-devel
35 openssl-devel
36 xz-devel
37 zlib-devel
38 zstd-devel
39 end
40
41 configure_options += \
42 --enable-acl \
43 --enable-xattr \
44 --disable-static \
45 --disable-bsdtar \
46 --disable-bsdcpio \
47 --with-bzip2 \
48 --with-expat \
49 --with-lzo2 \
50 --with-nettle \
51 --with-zlib \
52 --with-zstd \
53 --without-lzmadec
54
55 test
56 LD_LIBRARY_PATH=$(pwd)/src/.libs make check || :
57 end
58
59 install_cmds
60 rm -rfv %{BUILDROOT}/usr/share/man/man5/{cpio,mtree,tar}.5
61 end
62 end
63
64 packages
65 package %{name}
66
67 package %{name}-devel
68 template DEVEL
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end