69 lines
1.3 KiB
Bash
69 lines
1.3 KiB
Bash
SUMMARY="ALTLinux hyphenation library"
|
|
DESCRIPTION="
|
|
Hyphen is a hyphenation library.
|
|
"
|
|
HOMEPAGE="http://hunspell.sf.net"
|
|
COPYRIGHT="
|
|
1998 Raph Levien
|
|
2001 ALTLinux, Moscow
|
|
"
|
|
LICENSE="GNU GPL v2
|
|
GNU LGPL v2.1
|
|
MPL v1.1"
|
|
REVISION="3"
|
|
SOURCE_URI="http://sourceforge.net/projects/hunspell/files/Hyphen/2.8/hyphen-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705"
|
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
hyphen$secondaryArchSuffix = $portVersion compat >= 2.8
|
|
cmd:substrings.pl$secondaryArchSuffix
|
|
lib:libhyphen$secondaryArchSuffix = 0.3.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
hyphen${secondaryArchSuffix}_devel = $portVersion compat >= 2.8
|
|
devel:libhyphen$secondaryArchSuffix = 0.3.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
hyphen$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:patch
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libhyphen
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|