Contents of /branches/R11-stable/extras/gtkspell/gtkspell-2.0.16-r2.smage2
Parent Directory | Revision Log
Revision 15163 -
(show annotations)
(download)
Wed Jan 2 10:52:09 2013 UTC (11 years, 8 months ago) by niro
File size: 918 byte(s)
Wed Jan 2 10:52:09 2013 UTC (11 years, 8 months ago) by niro
File size: 918 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="gtkspell" |
4 | PVER="2.0.16" |
5 | PBUILD="r2" |
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=">= sys-apps/sed-4" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | |
22 | SRC_URI=( |
23 | # unusual sf.net schema |
24 | http://gtkspell.sourceforge.net/download/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-2.0.4-docbookx.patch |
27 | ) |
28 | |
29 | # unusual sf.net schema |
30 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # fix gtk-2 doc check |
38 | sed -i "s:GTKDOC=true::" configure || die |
39 | mpatch ${PNAME}-2.0.4-docbookx.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | mconfigure --disable-gtk-doc || die |
46 | mmake || die |
47 | } |