mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Enchant 2.2.3 (#3737)
This commit is contained in:
@@ -12,28 +12,32 @@ provider DLLs and for dictionaries themselves, when possible. Enchant's DLL\
|
||||
location algorithm takes this into account, and gives preference to the \$USER \
|
||||
DLLs, when found."
|
||||
HOMEPAGE="http://abisource.com/projects/enchant/"
|
||||
COPYRIGHT="2003-2010 Dom Lachowicz"
|
||||
COPYRIGHT="2003-2018 Dom Lachowicz"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz"
|
||||
CHECKSUM_SHA256="2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f"
|
||||
SOURCE_URI="https://github.com/AbiWord/enchant/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f2c3e8d4afacf904a0e7eff349593719f01cdd646992e46d06f7ea355a5e1095"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
enchant$secondaryArchSuffix = $portVersion
|
||||
cmd:enchant$secondaryArchSuffix
|
||||
cmd:enchant_2$secondaryArchSuffix
|
||||
cmd:enchant_lsmod_2$secondaryArchSuffix
|
||||
cmd:enchant_lsmod$secondaryArchSuffix
|
||||
lib:libenchant$secondaryArchSuffix = 1.16.0 compat >= 1
|
||||
lib:libenchant_ispell$secondaryArchSuffix
|
||||
lib:libenchant_myspell$secondaryArchSuffix
|
||||
lib:libenchant_2$secondaryArchSuffix = $libVersionCompat
|
||||
lib:enchant_aspell$secondaryArchSuffix
|
||||
lib:enchant_hunspell$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libaspell$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
#lib:libhunspell_1.4$secondaryArchSuffix #needs an working version
|
||||
lib:libhunspell_1.6$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpspell$secondaryArchSuffix #still doesn't seem to be picked up
|
||||
@@ -41,7 +45,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
enchant${secondaryArchSuffix} = $portVersion
|
||||
devel:libenchant$secondaryArchSuffix = $portVersion
|
||||
devel:libenchant_2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
enchant$secondaryArchSuffix == $portVersion base
|
||||
@@ -51,7 +55,7 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libaspell$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
#devel:libhunspell_1.6.0$secondaryArchSuffix #needs an working version
|
||||
devel:libhunspell_1.6$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpspell$secondaryArchSuffix #still doesn't seem to be picked up
|
||||
@@ -59,14 +63,17 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:git # required
|
||||
cmd:gpg$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:patch
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autogen.sh
|
||||
sh bootstrap
|
||||
runConfigure ./configure
|
||||
|
||||
make $jobArgs
|
||||
@@ -76,10 +83,13 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/enchant/*.la
|
||||
rm $libDir/enchant-2/*.la
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libenchant
|
||||
fixPkgconfig
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libenchant-2
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
Reference in New Issue
Block a user