Contents of /trunk/extras/enchant/enchant-1.6.0-r6.smage2
Parent Directory | Revision Log
Revision 30121 -
(show annotations)
(download)
Fri Oct 27 08:16:58 2017 UTC (6 years, 11 months ago) by niro
File size: 924 byte(s)
Fri Oct 27 08:16:58 2017 UTC (6 years, 11 months ago) by niro
File size: 924 byte(s)
auto added: ver bump to 1.6.0-r6
1 | # $Id$ |
2 | |
3 | PNAME="enchant" |
4 | PVER="1.6.0" |
5 | PBUILD="r6" |
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.54 |
13 | >= app-text/aspell-0.60 |
14 | >= app-text/hunspell-1.3 |
15 | >= sys-libs/libstdc++-5.3" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | |
22 | SRC_URI=( |
23 | http://www.abisource.com/downloads/${PNAME}/${PVER}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-1.5.0-multilib.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # fixes issues on multilib systems |
36 | mpatch ${PNAME}-1.5.0-multilib.patch || die |
37 | mautoreconf || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | mconfigure \ |
45 | --enable-aspell \ |
46 | --enable-myspell \ |
47 | --with-system-myspell \ |
48 | --disable-zemberek \ |
49 | --disable-ispell \ |
50 | || die |
51 | |
52 | mmake || die |
53 | } |