0
0
Fork 0
haikuports/app-i18n/anthy/anthy-9100h.recipe

87 lines
1.8 KiB
Bash

SUMMARY="Japanese input system"
DESCRIPTION="
Anthy is a Japanese input method working on X11 and Emacs. \
It converts hiragana text to mixed kana and kanji. It is implemented as \
a library and stores private information securely in ~/.anthy/. Thus, \
Anthy is simple and secure (information is protected from spoofing and snooping).
"
HOMEPAGE="http://anthy.sourceforge.jp/"
COPYRIGHT="2000-2007 TABATA Yusuke, UGAWA Tomoharu
2004-2006 YOSHIDA Yuichi
2000-2007 KMC(Kyoto University Micro Computer Club)
2001-2002 TAKAI Kosuke, Nobuoka Takahiro"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://sourceforge.jp/frs/redir.php?f=%2Fanthy%2F37536%2Fanthy-9100h.tar.gz"
CHECKSUM_SHA256="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
ARCHITECTURES="?all x86_gcc2 x86"
GLOBAL_WRITABLE_FILES="
settings/anthy-conf auto-merge
"
PROVIDES="
anthy = $portVersion
cmd:anthy_agent = $portVersion
cmd:anthy_dic_tool = $portVersion
cmd:anthy_morphological_analyzer = $portVersion
lib:libanthy = 0.1.0 compat >= 0
lib:libanthydic = 0.1.0 compat >= 0
lib:libanthyinput = 0.0.0 compat >= 0
"
REQUIRES="
haiku
"
PROVIDES_devel="
anthy_devel = $portVersion
devel:libanthy = 0.1.0 compat >= 0
devel:libanthydic = 0.1.0 compat >= 0
devel:libanthyinput = 0.0.0 compat >= 0
"
REQUIRES_devel="
anthy == $portVersion base
haiku_devel
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:sed
"
PATCH()
{
sed -i 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' configure.ac
}
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
automake
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libanthy \
libanthydic \
libanthyinput
fixPkgconfig
packageEntries devel \
$developDir
}