Magellan Linux

Contents of /branches/R11-stable/extras/gtkspell/gtkspell-2.0.16-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20859 - (show annotations) (download)
Tue Feb 11 10:01:57 2014 UTC (10 years, 3 months ago) by niro
File size: 915 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="gtkspell"
4 PVER="2.0.16"
5 PBUILD="r3"
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
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 }