Magellan Linux

Contents of /trunk/core/lzo/lzo-2.07-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21499 - (show annotations) (download)
Mon Jun 30 07:17:41 2014 UTC (9 years, 11 months ago) by niro
File size: 772 byte(s)
-FTBFS fix
1 # $Id$
2
3 PNAME="lzo"
4 PVER="2.07"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="lzo compression library."
10 HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
11
12 DEPEND=">= virtual/glibc"
13 SDEPEND=">= dev-lang/nasm-2"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 http://www.oberhumer.com/opensource/${PNAME}/download/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd http://www.oberhumer.com/opensource/lzo/download/ | grep '/${PNAME}-' | lasttarball gz"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # FTBFS fix
33 sed -i 's:lzodefs.h:lzoconf.h:g' configure.ac || die
34 mautoreconf || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40
41 # we want a shared lib
42 mconfigure --enable-shared || die
43 mmake || die
44 }