Contents of /trunk/extras/gtkspell/gtkspell-2.0.16-r4.smage2
Parent Directory | Revision Log
Revision 26431 -
(show annotations)
(download)
Fri Jun 26 16:56:13 2015 UTC (9 years, 3 months ago) by niro
File size: 942 byte(s)
Fri Jun 26 16:56:13 2015 UTC (9 years, 3 months ago) by niro
File size: 942 byte(s)
-fixed missing intltool sdep
1 | # $Id$ |
2 | |
3 | PNAME="gtkspell" |
4 | PVER="2.0.16" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget." |
10 | HOMEPAGE="http://gtkspell.sourceforge.net/" |
11 | |
12 | DEPEND=">= x11-libs/gtk2+-2.24 |
13 | >= app-text/enchant-1.6" |
14 | |
15 | SDEPEND=">= virtual/sed |
16 | >= dev-util/intltool-0.50" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild |
22 | |
23 | SRC_URI=( |
24 | # unusual sf.net schema |
25 | http://gtkspell.sourceforge.net/download/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-2.0.4-docbookx.patch |
28 | ) |
29 | |
30 | # unusual sf.net schema |
31 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | cd ${SRCDIR} |
37 | |
38 | # fix gtk-2 doc check |
39 | sed -i "s:GTKDOC=true::" configure || die |
40 | mpatch ${PNAME}-2.0.4-docbookx.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | mconfigure --disable-gtk-doc || die |
47 | mmake || die |
48 | } |