Fix lint test for anthy

This commit is contained in:
Timothy Gu
2015-01-01 01:25:12 -08:00
parent 3b728a2c41
commit c974e8040e
2 changed files with 80 additions and 33 deletions

View File

@@ -1,33 +0,0 @@
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/"
SRC_URI="http://sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fanthy%2F37536%2Fanthy-9100h.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd anthy-9100h
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd anthy-9100h
make install
}
LICENSE="GNU LGPL v2.1"
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"

View File

@@ -0,0 +1,80 @@
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/"
SRC_URI="http://sourceforge.jp/frs/redir.php?f=%2Fanthy%2F37536%2Fanthy-9100h.tar.gz"
CHECKSUM_SHA256="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:sed
"
REQUIRES="
haiku
"
REQUIRES_devel="
haiku_devel
anthy == $portVersion base
"
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
"
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
"
GLOBAL_WRITABLE_FILES="
settings/anthy-conf auto-merge
"
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
}
LICENSE="GNU LGPL v2.1"
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"