Magellan Linux

Contents of /branches/magellan-next/extras/libarchive/libarchive-2.8.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9067 - (show annotations) (download)
Tue Oct 4 14:58:10 2011 UTC (12 years, 7 months ago) by niro
File size: 1074 byte(s)
auto added: ver bump to 2.8.5-r1
1 # $Id$
2
3 PNAME="libarchive"
4 PVER="2.8.5"
5 PBUILD="r1"
6
7 PCATEGORIE="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 http://code.google.com/p/${PNAME}/downloads/list | 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 }