Annotation of /branches/R11-stable/core/libarchive/libarchive-3.0.4-r2.smage2
Parent Directory | Revision Log
Revision 12753 -
(hide annotations)
(download)
Mon Jul 2 14:37:15 2012 UTC (12 years, 2 months ago) by niro
Original Path: trunk/core/libarchive/libarchive-3.0.4-r2.smage2
File size: 1261 byte(s)
Mon Jul 2 14:37:15 2012 UTC (12 years, 2 months ago) by niro
Original Path: trunk/core/libarchive/libarchive-3.0.4-r2.smage2
File size: 1261 byte(s)
-marked unstable
1 | niro | 12682 | # $Id$ |
2 | |||
3 | PNAME="libarchive" | ||
4 | PVER="3.0.4" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="app-arch" | ||
8 | niro | 12753 | STATE="unstable" |
9 | niro | 12682 | |
10 | DESCRIPTION="A library that can create and read several streaming archive formats." | ||
11 | HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/" | ||
12 | |||
13 | DEPEND=">= app-arch/bzip2-1.0.6 | ||
14 | >= app-arch/xz-utils-5.0.1 | ||
15 | >= dev-libs/openssl-1.0.0 | ||
16 | >= sys-libs/zlib-1.2 | ||
17 | >= sys-apps/attr-2.4 | ||
18 | >= sys-apps/acl-2.2" | ||
19 | |||
20 | SDEPEND=">= sys-fs/e2fsprogs-1.41 | ||
21 | >= virtual/kernel-headers" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude mbuild | ||
27 | |||
28 | SRC_URI=( | ||
29 | https://github.com/downloads/${PNAME}/${PNAME}/${SRCFILE} | ||
30 | mirror://${PNAME}/${SRCFILE} | ||
31 | niro | 12683 | mirror://${PNAME}/${PNAME}-${PVER}-gcc47.patch |
32 | niro | 12682 | ) |
33 | |||
34 | UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/downloads | firsttarball gz" | ||
35 | |||
36 | niro | 12683 | src_prepare() |
37 | { | ||
38 | munpack ${SRCFILE} || die | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # fix compile issues with gcc-4.7 | ||
42 | mpatch ${PNAME}-${PVER}-gcc47.patch || die | ||
43 | } | ||
44 | |||
45 | niro | 12682 | src_compile() |
46 | { | ||
47 | cd ${SRCDIR} | ||
48 | |||
49 | # without-lzmadec is disabled because we use the newer lzma lib from xz-utils | ||
50 | mconfigure \ | ||
51 | --disable-dependency-tracking \ | ||
52 | --enable-bsdtar=shared \ | ||
53 | --enable-bsdcpio=shared \ | ||
54 | --enable-acl \ | ||
55 | --enable-xattr \ | ||
56 | --with-zlib \ | ||
57 | --with-bz2lib\ | ||
58 | --with-lzma \ | ||
59 | --without-lzmadec \ | ||
60 | || die | ||
61 | |||
62 | mmake || die | ||
63 | } |