Magellan Linux

Contents of /trunk/todo/libemf/libemf-1.0-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2428 - (show annotations) (download)
Thu Jul 9 19:55:25 2009 UTC (14 years, 10 months ago) by niro
File size: 1009 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/libemf/libemf-1.0-r7.smage2,v 1.1 2008/03/29 18:06:51 niro Exp $
2
3 PNAME="libemf"
4 PVER="1.0"
5 PBUILD="r7"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Library implementation of ECMA-234 API for the generation of enhanced metafiles."
11 HOMEPAGE="http://libemf.sourceforge.net/"
12
13 DEPEND=""
14
15 SRCFILE="libEMF-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/libEMF-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/libEMF-${PVER}-gcc3.patch
24 mirror://${PNAME}/libEMF-${PVER}-amd64.patch
25 mirror://${PNAME}/libEMF-${PVER}-gcc4.patch
26 )
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 mpatch libEMF-${PVER}-gcc3.patch || die
34 mpatch libEMF-${PVER}-amd64.patch || die
35 mpatch libEMF-${PVER}-gcc4.patch || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 # fix compilation on 64bit arches
43 [[ $(mlibdir) != lib ]] && export LDFLAGS="-L/$(mlibdir) -L/usr/$(mlibdir)"
44
45 mconfigure --enable-editing || die
46 mmake || die
47 }

Properties

Name Value
svn:keywords Id