Magellan Linux

Contents of /smage/trunk/extras/libarchive/libarchive-3.7.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17091 - (show annotations) (download)
Mon Oct 23 08:42:42 2023 UTC (8 months ago) by niro
File size: 1419 byte(s)
-ver bump to 3.7.2-r1
1 # $Id$
2
3 PNAME="libarchive"
4 PVER="3.7.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/liblzma-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
21 SDEPEND=">= sys-fs/e2fsprogs-1.41
22 >= virtual/kernel-headers
23 >= app-arch/bzip2-dev-1.0.6
24 >= app-arch/liblzma-dev-5.4
25 >= app-arch/zstd-dev-1.5
26 >= app-arch/lz4-dev-1.9
27 >= dev-libs/openssl-dev-3.1
28 >= dev-libs/expat-dev-2
29 >= sys-libs/zlib-dev-1.2
30 >= sys-apps/attr-dev-2.5"
31
32 SRCFILE="v${PVER}.tar.gz"
33 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
34
35 sminclude multilib mbuild
36
37 SRC_URI=(
38 https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE}
39 mirror://${PNAME}/${SRCFILE}
40 )
41
42 UP2SEPERATOR="v"
43 UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/tags | highesttarball gz"
44
45 src_prepare()
46 {
47 munpack ${SRCFILE} || die
48 mautoreconf || die
49 }
50
51 src_compile()
52 {
53 # alx: --disable-acl
54 # use expat instead of libxml2
55 mconfigure \
56 --disable-dependency-tracking \
57 --enable-bsdtar=shared \
58 --enable-bsdcpio=shared \
59 --disable-acl \
60 --enable-xattr \
61 --with-zlib \
62 --with-bz2lib\
63 --with-lzma \
64 --with-lzmadec \
65 --with-zstd \
66 --without-nettle \
67 --without-xml2 \
68 --with-expat \
69 || die
70
71 mmake || die
72 }