Contents of /branches/R11-stable/extras/enchant/enchant-1.6.0-r3.smage2
Parent Directory | Revision Log
Revision 15104 -
(show annotations)
(download)
Wed Jan 2 10:42:48 2013 UTC (11 years, 8 months ago) by niro
File size: 897 byte(s)
Wed Jan 2 10:42:48 2013 UTC (11 years, 8 months ago) by niro
File size: 897 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="enchant" |
4 | PVER="1.6.0" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="Enchant is a generic spell checking library." |
10 | HOMEPAGE="http://www.abisource.com/enchant/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.34 |
13 | >= app-text/aspell-0.60 |
14 | >= app-text/hunspell-1.3" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild |
20 | |
21 | SRC_URI=( |
22 | http://www.abisource.com/downloads/${PNAME}/${PVER}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-1.5.0-multilib.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fixes issues on multilib systems |
35 | mpatch ${PNAME}-1.5.0-multilib.patch || die |
36 | mautoreconf || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure \ |
44 | --enable-aspell \ |
45 | --enable-myspell \ |
46 | --with-system-myspell \ |
47 | --disable-zemberek \ |
48 | --disable-ispell \ |
49 | || die |
50 | |
51 | mmake || die |
52 | } |