Magellan Linux

Contents of /trunk/core/libarchive/libarchive-3.0.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11864 - (show annotations) (download)
Tue Apr 24 13:10:23 2012 UTC (12 years, 1 month ago) by niro
File size: 1066 byte(s)
auto added: ver bump to 3.0.4-r1
1 # $Id$
2
3 PNAME="libarchive"
4 PVER="3.0.4"
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.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 http://libarchive.googlecode.com/files/${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 --bindir=/bin \
42 --enable-bsdtar=shared \
43 --enable-bsdcpio=shared \
44 --enable-acl \
45 --enable-xattr \
46 --with-zlib \
47 --with-bz2lib\
48 --with-lzma \
49 --without-lzmadec \
50 || die
51
52 mmake || die
53 }