]> git.ipfire.org Git - ipfire-3.x.git/blob - libarchive/libarchive.nm
pcengines-firmware: update to 4.9.0.7
[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.2.2
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 = http://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 end
39
40 configure_options += \
41 --enable-acl \
42 --enable-xattr \
43 --disable-static \
44 --disable-bsdtar \
45 --disable-bsdcpio \
46 --with-bzip2 \
47 --with-expat \
48 --with-lzo2 \
49 --with-nettle \
50 --with-zlib \
51 --without-lzmadec
52
53 test
54 # Fails immediately with SEGV
55 make check || :
56 end
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}
65
66 package %{name}-devel
67 template DEVEL
68 end
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end