Magellan Linux

Contents of /trunk/extras/libarchive/libarchive-2.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2017 - (show annotations) (download)
Thu Jun 11 18:56:48 2009 UTC (14 years, 11 months ago) by niro
File size: 1095 byte(s)
auto added: ver bump to 2.7.0-r1
1 # $Id$
2
3 PNAME="libarchive"
4 PVER="2.7.0"
5 PBUILD="r1"
6
7 PCATEGORIE="app-arch"
8 STATE="unstable"
9
10 DESCRIPTION=""
11 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
12
13 DEPEND=">= app-arch/bzip2-1.0.5
14 >= sys-libs/zlib-1.2"
15
16 SDEPEND=">= sys-fs/e2fsprogs-1.41
17 >= virtual/kernel-headers"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild
23
24 SRC_URI=(
25 http://libarchive.googlecode.com/files/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${PNAME}-${PVER}-fortified-sources.patch
28 mirror://${PNAME}/${PNAME}-${PVER}-pipe.patch
29 )
30
31 UP2DATE="updatecmd http://code.google.com/p/${PNAME}/downloads/list | firsttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 mpatch ${PNAME}-${PVER}-fortified-sources.patch || die
39 mpatch ${PNAME}-${PVER}-pipe.patch || die
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45
46 mconfigure \
47 --disable-dependency-tracking \
48 --bindir=/bin \
49 --enable-bsdtar=shared \
50 --enable-bsdcpio=shared \
51 --disable-acl \
52 --disable-xattr \
53 --with-zlib \
54 --with-bz2lib\
55 --without-lzma \
56 || die
57
58 mmake || die
59 }

Properties

Name Value
svn:keywords Id