summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-06-19 05:54:35 +0000
committerPeter Volkov <pva@gentoo.org>2008-06-19 05:54:35 +0000
commit18984319871dcf31ba5000d097275e97dae6b148 (patch)
treeb9ab2f583d7521d4cb5804281348b08b999c3fb4 /app-text/hunspell
parentstable on ppc (bug #228273) (diff)
downloadhistorical-18984319871dcf31ba5000d097275e97dae6b148.tar.gz
historical-18984319871dcf31ba5000d097275e97dae6b148.tar.bz2
historical-18984319871dcf31ba5000d097275e97dae6b148.zip
Version bump. Dropped hacks for bug #179285.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-text/hunspell')
-rw-r--r--app-text/hunspell/ChangeLog7
-rw-r--r--app-text/hunspell/Manifest4
-rw-r--r--app-text/hunspell/hunspell-1.2.4.ebuild60
3 files changed, 69 insertions, 2 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog
index 81cf0bc77270..1f2430f80df1 100644
--- a/app-text/hunspell/ChangeLog
+++ b/app-text/hunspell/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/hunspell
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.39 2008/06/17 09:41:28 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.40 2008/06/19 05:54:35 pva Exp $
+
+*hunspell-1.2.4 (19 Jun 2008)
+
+ 19 Jun 2008; Peter Volkov <pva@gentoo.org> +hunspell-1.2.4.ebuild:
+ Version bump. Dropped hacks for bug #179285.
*hunspell-1.2.3 (17 Jun 2008)
diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest
index a7d4b7fa005d..eab7d56b8592 100644
--- a/app-text/hunspell/Manifest
+++ b/app-text/hunspell/Manifest
@@ -4,8 +4,10 @@ AUX hunspell-1.2.2-renameexes.patch 3751 RMD160 2429424ecd90246c97e9414f2be7435f
DIST hunspell-1.1.9.tar.gz 684426 RMD160 e49782df2ada58762036acc3c904a8ace6b19a0a SHA1 a881d9bc8bc6257c956c70c863e872514f8c44d4 SHA256 c36ed98189da373f3f24e7be97425454e6706cc3e0d07ff39f8c1bcd6689d543
DIST hunspell-1.2.2.tar.gz 752046 RMD160 110c428f2b6734afefb8865dc3d63a4492594552 SHA1 521063ff64b2182e92e92f5355ae2cf396f39420 SHA256 8263a77b7cde9d853847ad040cf6c6857b0cf9bf4a0afebf3081935e0f58b49c
DIST hunspell-1.2.3.tar.gz 758929 RMD160 1094b91232c81f33d65196d885fe3ccfefe12115 SHA1 1b15d0417bf7d898436192ac0989007231fbeadd SHA256 77466ef5ed18f810ca30814b6b7e40c3b08d30f3deb56157b5a78d960b16abea
+DIST hunspell-1.2.4.tar.gz 759049 RMD160 9e720a64344a3081b61b30cd5a5f79cdb60b3420 SHA1 5f088c49c13e63d123f4c082e3a3fad7b8f83e71 SHA256 59a4b62e7001aa9329929db89989e9a6312ed42b27d27cfab1413e83a335a6bf
EBUILD hunspell-1.1.9.ebuild 2611 RMD160 395520b384a949c0ed99ec54912b76a92ba294bd SHA1 b5aab750bd2d88b17d72d40b7f2eb572a3f4adbf SHA256 98dc2d8fe81b576d670b52a94a09e56f2a8a809a89a308542257f25ea01e43d3
EBUILD hunspell-1.2.2.ebuild 2675 RMD160 b0289d3881c23b005cb5192f15dac965e6ec4455 SHA1 83af421aa7fd1ffe03ebfb802773206b01836472 SHA256 b0d1b04300b4668ae9c9fed84d9f35f522ca54f292e531d1caa12273261ad449
EBUILD hunspell-1.2.3.ebuild 2739 RMD160 b1e2b627c99117e0cd3b2efc1c6bcc3eeb707c47 SHA1 2cbab3d10627314176c7e020901d972536ed1562 SHA256 21bb2f5be9c3d9eb14683b034b8efce0e05a5ffde311849524c4cdec8528503a
-MISC ChangeLog 6150 RMD160 6f6e57f5a12f955f5ec96d5afa06422778ec2d34 SHA1 6fbf31e5d965cd7daf3f3bc4a023ebbb9c8523fe SHA256 e3c0525ac1be739ce32a66c10e5b114df8a81905cfd96bc509c46ac6720a8e81
+EBUILD hunspell-1.2.4.ebuild 1826 RMD160 0b86b9206bc9ecb442b4780394dc9369c7b14f5a SHA1 28ec17a4f11ff0dcc828678cbb72ee6e96f7ec1f SHA256 a380c190fabcd14bd63c248704f2c3af713fe3e6515d75c43f7ddccbcaf4661f
+MISC ChangeLog 6298 RMD160 5b8ef52d9d47845fd3c41f53bd0247afa0a03665 SHA1 9d6a46af2a95ccfef6e1f38b66ca57884f070a1c SHA256 b99722eb7ac58d5250db25b17019562301116d71f40d4d02fe8f60fde5cfa22b
MISC metadata.xml 163 RMD160 444608d5dce1eb9307c253140c5f6b011fcbece8 SHA1 87029f6d4a8e381a59cad5f8553f0e5163b11a7e SHA256 2a83bf864655c5acb5d551aeb9b060d57545fb7cf1dd9d7fcdc16fbca221cabb
diff --git a/app-text/hunspell/hunspell-1.2.4.ebuild b/app-text/hunspell/hunspell-1.2.4.ebuild
new file mode 100644
index 000000000000..459414f40e50
--- /dev/null
+++ b/app-text/hunspell/hunspell-1.2.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.4.ebuild,v 1.1 2008/06/19 05:54:35 pva Exp $
+
+inherit eutils multilib autotools
+
+MY_P=${PN}-${PV/_beta/b}
+
+DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo."
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+HOMEPAGE="http://hunspell.sourceforge.net/"
+
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
+IUSE="ncurses nls readline"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DEPEND="readline? ( sys-libs/readline )
+ ncurses? ( sys-libs/ncurses )
+ sys-devel/gettext"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Upstream package creates some executables which names are too generic
+ # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
+ # It modifies a Makefile.am file, hence eautoreconf.
+ epatch "${FILESDIR}"/${PN}-1.2.2-renameexes.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ # I wanted to put the include files in /usr/include/hunspell
+ # but this means the openoffice build won't find them.
+ econf \
+ $(use_with nls) \
+ $(use_with ncurses ui) \
+ $(use_with readline readline) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed"
+ # hunspell is derived from myspell
+ dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed"
+}
+
+pkg_postinst() {
+ elog "To use this package you will also need a dictionary."
+ elog "Hunspell uses myspell format dictionaries; find them"
+ elog "in the app-dicts category as myspell-<LANG>."
+}