Magellan Linux

Contents of /branches/magellan-next/extras/libwmf/libwmf-0.2.8.4-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8258 - (show annotations) (download)
Wed Jul 13 15:39:05 2011 UTC (12 years, 9 months ago) by niro
File size: 1255 byte(s)
imported
1 # $Id$
2
3 PNAME="libwmf"
4 PVER="0.2.8.4"
5 PBUILD="r6"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Library for converting WMF files."
11 HOMEPAGE="http://wvware.sourceforge.net/"
12
13 DEPEND=">= x11-libs/libICE-1
14 >= x11-libs/libSM-1
15 >= x11-libs/libX11-1
16 >= dev-libs/expat-2
17 >= dev-libs/libxml2-2.7
18 >= media-libs/freetype-2.3.9
19 >= sys-libs/zlib-1.2.3
20 >= media-libs/libpng-1.2.40
21 >= media-libs/libjpeg-7
22 >= app-text/ghostscript-gpl-8"
23
24 SDEPEND=">= dev-util/pkgconfig-0.23
25 >= x11-libs/libXt-1
26 >= x11-libs/libXpm-1"
27
28 SRCFILE="${PNAME}-${PVER}.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30
31 sminclude mbuild
32
33 SRC_URI=(
34 sourceforge://wvware/${SRCFILE}
35 mirror://${PNAME}/${SRCFILE}
36 )
37
38 UP2DATE="updatecmd_sourceforge wvware ${PNAME} - ${PNAME}"
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure \
45 --with-gsfontdir=/usr/share/ghostscript/fonts \
46 --with-fontdir=/usr/share/libwmf/fonts/ \
47 --with-docdir=/usr/share/doc/${PNAME}-${PVER} \
48 || die
49
50 mmake || die
51 }
52
53 src_install()
54 {
55 cd ${SRCDIR}
56
57 mmake DESTDIR=${BINDIR} \
58 fontdir=/usr/share/libwmf/fonts \
59 wmfonedocdir=/usr/share/doc/${PNAME}-${PVER}/caolan \
60 wmfdocdir=/usr/share/doc/${PNAME}-${PVER} \
61 install || die
62
63 minstalldocs README AUTHORS COPYING CREDITS ChangeLog NEWS TODO || die
64 }

Properties

Name Value
svn:keywords Id