Annotation of /branches/R11-stable/core/libarchive/libarchive-3.0.4-r2.smage2
Parent Directory | Revision Log
Revision 12682 -
(hide annotations)
(download)
Wed Jun 27 09:40:52 2012 UTC (12 years, 3 months ago) by niro
Original Path: trunk/core/libarchive/libarchive-3.0.4-r2.smage2
File size: 1056 byte(s)
Wed Jun 27 09:40:52 2012 UTC (12 years, 3 months ago) by niro
Original Path: trunk/core/libarchive/libarchive-3.0.4-r2.smage2
File size: 1056 byte(s)
-prepare usr-move
1 | niro | 12682 | # $Id$ |
2 | |||
3 | PNAME="libarchive" | ||
4 | PVER="3.0.4" | ||
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.0.0 | ||
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="${PNAME}-${PVER}.tar.gz" | ||
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
24 | |||
25 | sminclude mbuild | ||
26 | |||
27 | SRC_URI=( | ||
28 | https://github.com/downloads/${PNAME}/${PNAME}/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/downloads | firsttarball gz" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | # without-lzmadec is disabled because we use the newer lzma lib from xz-utils | ||
39 | mconfigure \ | ||
40 | --disable-dependency-tracking \ | ||
41 | --enable-bsdtar=shared \ | ||
42 | --enable-bsdcpio=shared \ | ||
43 | --enable-acl \ | ||
44 | --enable-xattr \ | ||
45 | --with-zlib \ | ||
46 | --with-bz2lib\ | ||
47 | --with-lzma \ | ||
48 | --without-lzmadec \ | ||
49 | || die | ||
50 | |||
51 | mmake || die | ||
52 | } |