Magellan Linux

Contents of /trunk/extras/hunspell/hunspell-1.6.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30057 - (show annotations) (download)
Tue Oct 24 14:10:15 2017 UTC (7 years ago) by niro
File size: 983 byte(s)
auto added: ver bump to 1.6.2-r1
1 # $Id$
2
3 PNAME="hunspell"
4 PVER="1.6.2"
5 PBUILD="r1"
6
7 PCAT="app-text"
8
9 DESCRIPTION="Spell checker and morphological analyzer library and program."
10 HOMEPAGE="http://hunspell.github.io/"
11
12 DEPEND=">= sys-libs/ncurses-6.0
13 >= sys-libs/readline-7.0
14 >= sys-libs/libstdc++-6.3"
15
16 SDEPEND=">= sys-dev/gettext-0.18"
17
18 SRCFILE="v${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 https://github.com/hunspell/hunspell/archive/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2SEPERATOR="v"
29 UP2DATE="updatecmd https://github.com/hunspell/hunspell/releases | highesttarball gz"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 mautoreconf || die
37 }
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 mconfigure --disable-rpath --enable-nls --with-ui --with-readline || die
44 mmake || die
45 }
46
47 src_install()
48 {
49 cd ${SRCDIR}
50
51 mmake DESTDIR=${BINDIR} install || die
52 # add missing dev symlink
53 pushd ${BINDIR}/usr/$(mlibdir)
54 ln -snf libhunspell-?.?.so libhunspell.so || die
55 popd
56 }