Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7131 - (show annotations) (download)
Wed Sep 29 11:08:24 2010 UTC (13 years, 7 months ago) by niro
File size: 1050 byte(s)
-enabled lzma and acl/attr support
1 # $Id: libarchive-2.7.1-r1.smage2 6463 2010-08-25 21:32:54Z niro $
2
3 PNAME="libarchive"
4 PVER="2.8.4"
5 PBUILD="r1"
6
7 PCATEGORIE="app-arch"
8 STATE="unstable"
9
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-4.999
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 http://libarchive.googlecode.com/files/${SRCFILE}
30 mirror://${PNAME}/${SRCFILE}
31 )
32
33 UP2DATE="updatecmd http://code.google.com/p/${PNAME}/downloads/list | firsttarball gz"
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38
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 || die
50
51 mmake || die
52 }