mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
hunspell: turn bep into recipe
This commit is contained in:
@@ -1,35 +1,95 @@
|
|||||||
DESCRIPTION="hunspell - spellchecker, forked from myspell"
|
SUMMARY="Spellchecker, forked from myspell"
|
||||||
HOMEPAGE="http://hunspell.sourceforge.net/"
|
DESCRIPTION="
|
||||||
|
Hunspell is a spell checker and morphological analyzer library and program
|
||||||
|
designed for languages with rich morphology and complex word compounding or
|
||||||
|
character encoding.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://hunspell.sourceforge.net/"
|
||||||
SRC_URI="http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz"
|
SRC_URI="http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz"
|
||||||
|
LICENSE="
|
||||||
|
GNU GPL v2
|
||||||
|
GNU LGPL v2.1
|
||||||
|
MPL v1.1
|
||||||
|
"
|
||||||
|
COPYRIGHT="
|
||||||
|
2007-2011 Hunspell developers et al.
|
||||||
|
2002-2008 László Németh (Hunspell)
|
||||||
|
2001-2002 Kevin Hendricks (MySpell)
|
||||||
|
"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
STATUS_HAIKU="stable"
|
CHECKSUM_SIZE="975917"
|
||||||
DEPEND=""
|
|
||||||
CHECKSUM_MD5="3121aaf3e13e5d88dfff13fb4a5f1ab8"
|
CHECKSUM_MD5="3121aaf3e13e5d88dfff13fb4a5f1ab8"
|
||||||
|
CHECKSUM_RMD160="f193de180f9ac29cfb54824a45366ba57b27e5c4"
|
||||||
|
CHECKSUM_SHA512="fdc165af6fc7d66b858184e34851fb6d8022736af4133fe51535afcadd9c7fdb824c05c3d33b948fafcea165ccc23f5918adb7d81e5eeb5525c05abda0cbd43c"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
$portName = $portVersion
|
||||||
|
cmd:affixcompress = $portVersion
|
||||||
|
cmd:analyze = $portVersion
|
||||||
|
cmd:chmorph = $portVersion
|
||||||
|
cmd:hunspell = $portVersion
|
||||||
|
cmd:hunzip = $portVersion
|
||||||
|
cmd:hzip = $portVersion
|
||||||
|
cmd:ispellaff2myspell = $portVersion
|
||||||
|
cmd:makealias = $portVersion
|
||||||
|
cmd:munch = $portVersion
|
||||||
|
cmd:unmunch = $portVersion
|
||||||
|
cmd:wordforms = $portVersion
|
||||||
|
cmd:wordlist2hunspell = $portVersion
|
||||||
|
lib:libhunspell_1.3 = $portVersion compat >= 1.3
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
cmd:gcc
|
||||||
|
cmd:ld
|
||||||
|
cmd:make
|
||||||
|
cmd:libtoolize
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:automake
|
||||||
|
"
|
||||||
|
|
||||||
|
SOURCE_DIR="$portName-$portVersion"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
cd hunspell-1.3.2
|
|
||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake --add-missing
|
||||||
touch po/t-hu.gmo
|
touch po/t-hu.gmo
|
||||||
touch po/t-it.gmo
|
touch po/t-it.gmo
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
runConfigure ./configure
|
||||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
make $jobArgs
|
||||||
--localedir=`finddir B_COMMON_DATA_DIRECTORY`/locale
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
cd hunspell-1.3.2
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libhunspell-1.3 libparsers
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
packageEntries devel $developDir
|
||||||
}
|
}
|
||||||
|
|
||||||
LICENSE="GNU GPL v2
|
TEST()
|
||||||
GNU LGPL v2.1
|
{
|
||||||
MPL v1.1"
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
COPYRIGHT="2007-2011 Hunspell developers et al.
|
PROVIDES_devel="
|
||||||
2002-2008 László Németh (Hunspell)
|
hunspell_devel = $portVersion
|
||||||
2001-2002 Kevin Hendricks (MySpell)"
|
devel:libhunspell_1.3 = $portVersion compat >= 1.3
|
||||||
|
devel:libparsers = $portVersion compat >= 1.3
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
hunspell == $portVersion base
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user