Annotation of /branches/magellan-next/extras/enchant/enchant-1.6.0-r1.smage2
Parent Directory | Revision Log
Revision 6816 -
(hide annotations)
(download)
Wed Sep 22 17:09:09 2010 UTC (13 years, 8 months ago) by niro
File size: 1028 byte(s)
Wed Sep 22 17:09:09 2010 UTC (13 years, 8 months ago) by niro
File size: 1028 byte(s)
auto added: ver bump to 1.6.0-r1
1 | niro | 6816 | # $Id: enchant-1.5.0-r2.smage2 3696 2009-10-30 12:48:05Z niro $ |
2 | |||
3 | PNAME="enchant" | ||
4 | PVER="1.6.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="app-text" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Enchant is a generic spell checking library." | ||
11 | HOMEPAGE="http://www.abisource.com/enchant/" | ||
12 | |||
13 | DEPEND=">= dev-libs/glib2-2.24 | ||
14 | >= app-text/aspell-0.60 | ||
15 | >= app-text/hunspell-1.2.12" | ||
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 | # rebuild configure | ||
38 | autoreconf --verbose --install --force || die | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | |||
45 | mconfigure \ | ||
46 | --enable-aspell \ | ||
47 | --enable-myspell \ | ||
48 | --with-system-myspell \ | ||
49 | --disable-zemberek \ | ||
50 | --disable-ispell \ | ||
51 | || die | ||
52 | |||
53 | mmake || die | ||
54 | } |