Magellan Linux

Contents of /trunk/core/libarchive/libarchive-3.6.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33438 - (show annotations) (download)
Wed Jul 19 11:42:13 2023 UTC (10 months, 1 week ago) by niro
File size: 1207 byte(s)
-ver bump to 3.6.2-r1
1 # $Id$
2
3 PNAME="libarchive"
4 PVER="3.6.2"
5 PBUILD="r1"
6
7 PCAT="app-arch"
8
9 DESCRIPTION="A library that can create and read several streaming archive formats."
10 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
11
12 DEPEND=">= app-arch/bzip2-1.0.6
13 >= app-arch/xz-utils-5.4
14 >= app-arch/zstd-1.5
15 >= app-arch/lz4-1.9
16 >= dev-libs/openssl-3.1
17 >= dev-libs/expat-2
18 >= sys-libs/zlib-1.2
19 >= sys-apps/attr-2.5
20 >= sys-apps/acl-2.3"
21
22 SDEPEND=">= sys-fs/e2fsprogs-1.41
23 >= virtual/kernel-headers"
24
25 SRCFILE="v${PVER}.tar.gz"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude multilib mbuild
29
30 SRC_URI=(
31 https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 )
34
35 UP2SEPERATOR="v"
36 UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 mautoreconf || die
42 }
43
44 src_compile()
45 {
46 # use expat instead of libxml2
47 mconfigure \
48 --disable-dependency-tracking \
49 --enable-bsdtar=shared \
50 --enable-bsdcpio=shared \
51 --enable-acl \
52 --enable-xattr \
53 --with-zlib \
54 --with-bz2lib\
55 --with-lzma \
56 --with-lzmadec \
57 --with-zstd \
58 --without-nettle \
59 --without-xml2 \
60 --with-expat \
61 || die
62
63 mmake || die
64 }