Contents of /trunk/core/libarchive/libarchive-3.3.2-r1.smage2
Parent Directory | Revision Log
Revision 29884 -
(show annotations)
(download)
Tue Oct 17 08:30:09 2017 UTC (6 years, 11 months ago) by niro
File size: 1142 byte(s)
Tue Oct 17 08:30:09 2017 UTC (6 years, 11 months ago) by niro
File size: 1142 byte(s)
auto added: ver bump to 3.3.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="libarchive" |
4 | PVER="3.3.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.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 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 | cd ${SRCDIR} |
39 | mautoreconf || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | # without-lzmadec is disabled because we use the newer lzma lib from xz-utils |
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 | --without-lzmadec \ |
57 | || die |
58 | |
59 | mmake || die |
60 | } |