Contents of /trunk/extras/libemf/libemf-1.0-r7.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1009 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1009 byte(s)
import repo
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 |