]>
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 |
fb50fbb2 | 7 | version = 3.2.2 |
802ea3af | 8 | release = 1 |
4d5df873 | 9 | |
802ea3af | 10 | groups = System/Libraries |
09a5cb91 | 11 | url = http://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 | ||
09a5cb91 | 23 | source_dl = http://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 | |
38 | end | |
39 | ||
40 | configure_options += \ | |
fb50fbb2 MT |
41 | --enable-acl \ |
42 | --enable-xattr \ | |
802ea3af MT |
43 | --disable-static \ |
44 | --disable-bsdtar \ | |
fb50fbb2 MT |
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 | |
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 |