Annotation of /trunk/todo/autotrace/autotrace-0.31.1-r6.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/autotrace/autotrace-0.31.1-r6.smage2
File size: 1241 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/autotrace/autotrace-0.31.1-r6.smage2
File size: 1241 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/autotrace/autotrace-0.31.1-r6.smage2,v 1.1 2008/08/15 12:54:32 niro Exp $ |
2 | |||
3 | PNAME="autotrace" | ||
4 | PVER="0.31.1" | ||
5 | PBUILD="r6" | ||
6 | |||
7 | PCATEGORIE="media-gfx" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="autotrace converts bitmap to vector graphics." | ||
11 | HOMEPAGE="http://autotrace.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= x11-libs/gtkdps-0.3.4 | ||
14 | >= media-libs/libexif-0.6 | ||
15 | >= x11-libs/gtk1+-1.2.10 | ||
16 | >= media-libs/libpng-1.2.26 | ||
17 | >= media-gfx/imagemagick-6.4" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | sourceforge://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-imagemagick.patch | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-m4-missing.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch | ||
30 | ) | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | munpack ${SRCFILE} || die | ||
35 | cd ${SRCDIR} | ||
36 | |||
37 | # fix compilation with newer imagemagick | ||
38 | mpatch ${PNAME}-imagemagick.patch || die | ||
39 | |||
40 | # fix missing m4 includes (-Np1 is neccessary) | ||
41 | mpatch -Np1 ${PNAME}-${PVER}-m4-missing.patch || die | ||
42 | |||
43 | # fixes m4 warnings | ||
44 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die | ||
45 | |||
46 | # rebuild configure | ||
47 | autoreconf --install --force || die | ||
48 | } | ||
49 | |||
50 | src_compile() | ||
51 | { | ||
52 | cd ${SRCDIR} | ||
53 | |||
54 | mconfigure --without-pstoedit || die | ||
55 | mmake -j1 || die | ||
56 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |