From c974e8040e660637ac904941b565333df85bb761 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Thu, 1 Jan 2015 01:25:12 -0800 Subject: [PATCH] Fix lint test for anthy --- app-i18n/anthy/anthy-9100.recipe | 33 ------------- app-i18n/anthy/anthy-9100h.recipe | 80 +++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 33 deletions(-) delete mode 100644 app-i18n/anthy/anthy-9100.recipe create mode 100644 app-i18n/anthy/anthy-9100h.recipe diff --git a/app-i18n/anthy/anthy-9100.recipe b/app-i18n/anthy/anthy-9100.recipe deleted file mode 100644 index 43ec7b3f1..000000000 --- a/app-i18n/anthy/anthy-9100.recipe +++ /dev/null @@ -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" diff --git a/app-i18n/anthy/anthy-9100h.recipe b/app-i18n/anthy/anthy-9100h.recipe new file mode 100644 index 000000000..aff21e1ae --- /dev/null +++ b/app-i18n/anthy/anthy-9100h.recipe @@ -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"