mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Add recipe for libexttextcat.
libreoffice tries to download this at build time, so I guess we should have a port.
This commit is contained in:
64
app-text/libexttextcat/libexttextcat-3.4.5.recipe
Normal file
64
app-text/libexttextcat/libexttextcat-3.4.5.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="N-Gram-Based Text Categorization library"
|
||||
DESCRIPTION="libexttextcat is an N-Gram-Based Text Categorization library \
|
||||
primarily intended for language guessing.
|
||||
|
||||
Fundamentally this is an adaption of wiseguys libtextcat extended to be UTF-8 \
|
||||
aware."
|
||||
HOMEPAGE="https://github.com/LibreOffice/libexttextcat"
|
||||
COPYRIGHT="2003, WiseGuys Internet B.V."
|
||||
LICENSE="BSD (3-clause)"
|
||||
SOURCE_URI="https://github.com/LibreOffice/libexttextcat/archive/v$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="libexttextcat-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a2fce2088cacd6d831d9180186006bb2ffe35a2126cb1754a325a1b40f75e090"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libexttextcat$secondaryArchSuffix = $portVersion
|
||||
lib:libexttextcat_2.0$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libexttextcat${secondaryArchSuffix}_devel = $portVersion
|
||||
cmd:createfp$secondaryArchSuffix
|
||||
devel:libexttextcat_2.0$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libexttextcat$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libexttextcat-2.0
|
||||
packageEntries devel \
|
||||
$developDir $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user