Magellan Linux

Annotation of /trunk/core/libarchive/libarchive-3.3.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31807 - (hide annotations) (download)
Wed Dec 12 09:31:13 2018 UTC (5 years, 6 months ago) by niro
File size: 1122 byte(s)
-multilib rebuild
1 niro 31807 # $Id$
2    
3     PNAME="libarchive"
4     PVER="3.3.3"
5     PBUILD="r2"
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.0.1
14     >= dev-libs/openssl-1.1
15     >= sys-libs/zlib-1.2
16     >= sys-apps/attr-2.4
17     >= sys-apps/acl-2.2"
18    
19     SDEPEND=">= sys-fs/e2fsprogs-1.41
20     >= virtual/kernel-headers"
21    
22     SRCFILE="v${PVER}.tar.gz"
23     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24    
25     sminclude multilib mbuild
26    
27     SRC_URI=(
28     https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2SEPERATOR="v"
33     UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz"
34    
35     src_prepare()
36     {
37     munpack ${SRCFILE} || die
38     mautoreconf || die
39     }
40    
41     src_compile()
42     {
43     # without-lzmadec is disabled because we use the newer lzma lib from xz-utils
44     mconfigure \
45     --disable-dependency-tracking \
46     --enable-bsdtar=shared \
47     --enable-bsdcpio=shared \
48     --enable-acl \
49     --enable-xattr \
50     --with-zlib \
51     --with-bz2lib\
52     --with-lzma \
53     --without-lzmadec \
54     || die
55    
56     mmake || die
57     }