Magellan Linux

Annotation of /trunk/todo/libwmf/libwmf-0.2.8.4-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2455 - (hide annotations) (download)
Thu Jul 9 20:03:36 2009 UTC (14 years, 10 months ago) by niro
File size: 1290 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/libwmf/libwmf-0.2.8.4-r5.smage2,v 1.1 2008/04/01 11:22:30 niro Exp $
2    
3     PNAME="libwmf"
4     PVER="0.2.8.4"
5     PBUILD="r5"
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.6.31
18     >= media-libs/freetype-2.3
19     >= sys-libs/zlib-1.2.3
20     >= media-libs/libpng-1.2.24
21     >= media-libs/libjpeg-6b
22     >= app-text/ghostscript-esp-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     src_compile()
39     {
40     cd ${SRCDIR}
41    
42     mconfigure \
43     --with-gsfontdir=/usr/share/ghostscript/fonts \
44     --with-fontdir=/usr/share/libwmf/fonts/ \
45     --with-docdir=/usr/share/doc/${PNAME}-${PVER} \
46     || die
47    
48     mmake || die
49     }
50    
51     src_install()
52     {
53     cd ${SRCDIR}
54    
55     mmake DESTDIR=${BINDIR} \
56     fontdir=/usr/share/libwmf/fonts \
57     wmfonedocdir=/usr/share/doc/${PNAME}-${PVER}/caolan \
58     wmfdocdir=/usr/share/doc/${PNAME}-${PVER} \
59     install || die
60    
61     minstalldocs README AUTHORS COPYING CREDITS ChangeLog NEWS TODO || die
62     }

Properties

Name Value
svn:keywords Id