Magellan Linux

Contents of /branches/magellan-next/extras/gtkspell/gtkspell-2.0.16-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9417 - (show annotations) (download)
Tue Nov 29 11:04:37 2011 UTC (12 years, 5 months ago) by niro
File size: 924 byte(s)
auto added: ver bump to 2.0.16-r2
1 # $Id$
2
3 PNAME="gtkspell"
4 PVER="2.0.16"
5 PBUILD="r2"
6
7 PCATEGORIE="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.25
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 }