diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-08 14:58:29 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-08 14:58:29 +0000 |
commit | 3f59242785e45ea05881d68b553ec355ea4503e0 (patch) | |
tree | 71cf49b92d60f26ec7fe3df83b20fcbb3b3e28f8 /app-i18n | |
parent | Version bump. (diff) | |
download | historical-3f59242785e45ea05881d68b553ec355ea4503e0.tar.gz historical-3f59242785e45ea05881d68b553ec355ea4503e0.tar.bz2 historical-3f59242785e45ea05881d68b553ec355ea4503e0.zip |
Fixed pre-strip, bug #248725. Clean up.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r4 x86_64
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/nkf/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/nkf/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/nkf/nkf-2.0.7-r1.ebuild | 70 |
3 files changed, 79 insertions, 3 deletions
diff --git a/app-i18n/nkf/ChangeLog b/app-i18n/nkf/ChangeLog index 43e231cf1bfe..6b363ced4757 100644 --- a/app-i18n/nkf/ChangeLog +++ b/app-i18n/nkf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/nkf -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.43 2007/09/17 14:36:57 hattya Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.44 2008/12/08 14:58:29 matsuu Exp $ + +*nkf-2.0.7-r1 (08 Dec 2008) + + 08 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> +nkf-2.0.7-r1.ebuild: + Fixed pre-strip, bug #248725. Clean up. 17 Sep 2007; Akinori Hattori <hattya@gentoo.org> -files/nkf-python.patch, -nkf-2.0.4.ebuild, -nkf-2.0.5-r1.ebuild, -nkf-2.0.7_beta1.ebuild: diff --git a/app-i18n/nkf/Manifest b/app-i18n/nkf/Manifest index 055e2c1fe7bc..71e094375ffd 100644 --- a/app-i18n/nkf/Manifest +++ b/app-i18n/nkf/Manifest @@ -1,5 +1,6 @@ DIST NKF_python.tgz 2242 RMD160 759979ff4ade90b409439e7038f21a88bb14e46b SHA1 4ed0638d1d418da0d41a077eb6f8fcdfcfac16f0 SHA256 4dcf34edbd5baf5aabd9e0cd439ca342a99b92c6748311ab693e9277d40d552b DIST nkf207.tar.gz 150501 RMD160 da6eebf7dd59d934eca40f2f6588e97078c8d68a SHA1 97ee0920a5cd935acd08ca789c7b8c810a594311 SHA256 71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275 +EBUILD nkf-2.0.7-r1.ebuild 1522 RMD160 d4751a72fbcfa07844d91c6cb8e80ba5ff9a9a49 SHA1 4792c2fa342f533925da46028cdcb96f60adee10 SHA256 7b7bd0fb41e2e942352afced2a0300a845b7f563b63202d248e7bc4e9f29fd0f EBUILD nkf-2.0.7.ebuild 1365 RMD160 4cae0c07db77f484c9850f112a11e18003e6022a SHA1 6757d0585bcf57c45c20973f7b25112ad26d5bb4 SHA256 fa00e5fd25c905138020ed6cd9fe8f0edfe46f73720c50de2e0821a0c14bf958 -MISC ChangeLog 4900 RMD160 bcb10f9e2d9625990077b1fced7ff292b092ecac SHA1 32b8391cb73c20bd96a6018e191358df5c2fbd8e SHA256 912fbcb33bade4abe3d1de5c887c43744a8fdf91dcfe08f0f6feab5ed9ee6659 +MISC ChangeLog 5043 RMD160 e704fe01ce6088acb8b5076bdd09123508d758b7 SHA1 d8d83a37ca729e9a128c8c01245f9ae63a927f37 SHA256 37aa798f6637ba1b0ac2347a460ad3dcf63380a9a1e48aee930f0ea43a82e478 MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 diff --git a/app-i18n/nkf/nkf-2.0.7-r1.ebuild b/app-i18n/nkf/nkf-2.0.7-r1.ebuild new file mode 100644 index 000000000000..70979474c4d7 --- /dev/null +++ b/app-i18n/nkf/nkf-2.0.7-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7-r1.ebuild,v 1.1 2008/12/08 14:58:29 matsuu Exp $ + +inherit toolchain-funcs eutils perl-module distutils + +MY_P="nkf${PV//./}" +DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support" +HOMEPAGE="http://sourceforge.jp/projects/nkf/" +SRC_URI="mirror://sourceforge.jp/nkf/20770/${MY_P}.tar.gz + python? ( http://city.plala.jp/download/nkf/NKF_python.tgz )" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="perl python linguas_ja" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${MY_P}.tar.gz + + cd "${S}" + + sed -i -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' Makefile || die + + if use python; then + unpack NKF_python.tgz + # bug #248725 + sed -i -e "s/-s/${CFLAGS}/" NKF.python/setup.py || die + fi +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" nkf || die + if use perl; then + cd "${S}/NKF.mod" + perl-module_src_compile + fi + if use python; then + cd "${S}/NKF.python" + distutils_src_compile + fi +} + +src_test() { + emake test || die + if use perl; then + cd "${S}/NKF.mod" + perl-module_src_test + fi +} + +src_install() { + dobin nkf || die + doman nkf.1 + if use linguas_ja; then + ./nkf -e nkf.1j > nkf.1 + doman -i18n=ja nkf.1 + fi + dodoc nkf.doc + if use perl; then + cd "${S}/NKF.mod" + perl-module_src_install + fi + if use python; then + cd "${S}/NKF.python" + distutils_src_install + fi +} |