Contents of /trunk/todo/dgs/dgs-0.5.10-r2.smage2
Parent Directory | Revision Log
Revision 2231 -
(show annotations)
(download)
Thu Jul 9 19:24:35 2009 UTC (15 years, 2 months ago) by niro
File size: 1210 byte(s)
Thu Jul 9 19:24:35 2009 UTC (15 years, 2 months ago) by niro
File size: 1210 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/dgs/dgs-0.5.10-r2.smage2,v 1.2 2008/02/07 14:23:35 niro Exp $ |
2 | |
3 | PNAME="dgs" |
4 | PVER="0.5.10" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="app-text" |
8 | STATE="testing" |
9 | |
10 | DESCRIPTION="Display Ghostscript System." |
11 | HOMEPAGE="http://www.gyve.org/dgs/" |
12 | |
13 | DEPEND=">= dev-libs/glib1-1.2" |
14 | |
15 | SDEPEND=">= sys-apps/texinfo-4 |
16 | >= sys-dev/autoconf-2.5 |
17 | >= sys-apps/tcp-wrappers-7.6" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude gnuconfig mbuild |
23 | |
24 | SRC_URI=( |
25 | ftp://ftp.gyve.org/pub/${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-gcc-3.4.patch |
28 | mirror://${PNAME}/${PNAME}-${PVER}-workaround-include-in-comments.patch |
29 | mirror://${PNAME}/${PNAME}-${PVER}-gs-time_.h.patch |
30 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch |
31 | ) |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | cd ${SRCDIR} |
37 | |
38 | mpatch ${PNAME}-${PVER}-gcc-3.4.patch || die |
39 | mpatch ${PNAME}-${PVER}-workaround-include-in-comments.patch || die |
40 | mpatch ${PNAME}-${PVER}-gs-time_.h.patch || die |
41 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die |
42 | |
43 | # fix CHOST for x86_64 and others |
44 | gnuconfig-update || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | mconfigure --with-x || die |
52 | mmake -j1 || die |
53 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |