mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
65 lines
1.5 KiB
Bash
65 lines
1.5 KiB
Bash
SUMMARY="Intelligent Phonetic Input Method Library for Tranditional Chinese"
|
|
DESCRIPTION="Intelligent phonetic (Zhuyin/Bopomofo) input method library"
|
|
HOMEPAGE="https://github.com/chewing"
|
|
COPYRIGHT="2004-2006, 2008-2010, 2012-2014 The libchewing Core Team"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/chewing/libchewing/releases/download/v${portVersion}/libchewing-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b"
|
|
SOURCE_DIR="libchewing-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="3.3.1"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libchewing$secondaryArchSuffix = $portVersion
|
|
lib:libchewing$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libchewing${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libchewing$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libchewing$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./autogen.sh
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libchewing.la
|
|
|
|
prepareInstalledDevelLib libchewing
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|