Contents of /branches/magellan-0_10_0/todo/pstoedit/pstoedit-3.45-r2.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1072 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1072 byte(s)
created branch 'magellan-0_10_0'
1 | # $Header: /magellan-cvs/smage/pstoedit/pstoedit-3.45-r2.smage2,v 1.1 2008/04/03 19:17:26 niro Exp $ |
2 | |
3 | PNAME="pstoedit" |
4 | PVER="3.45" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="media-gfx" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="pstoedit translates PostScript and PDF graphics into other vector formats." |
11 | HOMEPAGE="http://www.pstoedit.net/pstoedit" |
12 | |
13 | DEPEND=">= sys-libs/zlib-1.2 |
14 | >= media-libs/libemf-1.0 |
15 | >= media-libs/libpng-1.2 |
16 | >= media-libs/libexif-0.6 |
17 | >= app-text/ghostscript-esp-8" |
18 | |
19 | SDEPEND=">= sys-apps/sed-4" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude mtools |
25 | |
26 | SRC_URI=( |
27 | sourceforge://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | sed -i "s/\-pedantic//" configure || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure \ |
44 | --with-libemf-include=/usr/include/libEMF \ |
45 | --without-libplot || die |
46 | |
47 | # does not like optimations >= -j1 |
48 | mmake -j1 || die |
49 | } |
50 | |
51 | src_install() |
52 | { |
53 | cd ${SRCDIR} |
54 | make DESTDIR=${BINDIR} install || die |
55 | minstallman doc/pstoedit.1 || die |
56 | minstalldocs copying || die |
57 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |