Magellan Linux

Contents of /branches/R11-unstable/extras/hunspell/hunspell-1.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32731 - (show annotations) (download)
Mon Apr 29 13:32:26 2019 UTC (5 years ago) by niro
File size: 1003 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="hunspell"
4 PVER="1.7.0"
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.1
13 >= sys-libs/readline-8.0
14 >= sys-libs/libstdc++-8.2"
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 | grep -v ${PNAME}- | 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 }