diff options
-rw-r--r-- | app-text/an/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/an/an-0.95.3.2.ebuild | 68 |
2 files changed, 4 insertions, 69 deletions
diff --git a/app-text/an/ChangeLog b/app-text/an/ChangeLog index 521ab643b629..3aadd6101c61 100644 --- a/app-text/an/ChangeLog +++ b/app-text/an/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/an # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.42 2013/07/27 22:13:50 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/an/ChangeLog,v 1.43 2013/07/28 19:49:07 jer Exp $ + + 28 Jul 2013; Jeroen Roovers <jer@gentoo.org> -an-0.95.3.2.ebuild: + Old. 27 Jul 2013; Agostino Sarubbo <ago@gentoo.org> an-1.1.ebuild: Stable for x86, wrt bug #476852 diff --git a/app-text/an/an-0.95.3.2.ebuild b/app-text/an/an-0.95.3.2.ebuild deleted file mode 100644 index 284b9ae77dfe..000000000000 --- a/app-text/an/an-0.95.3.2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/an/an-0.95.3.2.ebuild,v 1.7 2012/09/30 18:12:43 armin76 Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs versionator - -DESCRIPTION="Very fast anagram generator with dictionary lookup" -HOMEPAGE="http://packages.debian.org/unstable/games/an" - -MY_PV="$(get_version_component_range 1-2)" -DEB_REV="$(get_version_component_range 3-4)" -SRC_URI=" - mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}.orig.tar.gz - mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_REV}.diff.gz -" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="amd64 hppa ppc ppc64 x86" -IUSE="" - -RDEPEND="sys-apps/miscfiles[-minimal]" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_prepare() { - MY_PL="$(replace_version_separator 2 -)" - epatch "${WORKDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff - - # sys-apps/miscfiles doesn't have /usr/dict/words: - sed -i README \ - -e 's:/usr/dict/words:/usr/share/dict/words:' \ - || die "sed README failed" - sed -i Makefile \ - -e 's|^CC=gcc|#CC=gcc|g' \ - -e 's|^CFLAGS=-O2|CFLAGS := $(CFLAGS)|g' \ - -e 's|$(CC) $(CFLAGS)|$(CC) $(CFLAGS) $(LDFLAGS)|g' \ - -e 's|&& make|\&\& $(MAKE)|g' \ - || die "sed Makefile failed" -} - -src_compile() { - tc-export CC - emake LDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_install() { - dobin ${PN} || die - doman ${PN}.6 || die - dodoc \ - debian/changelog \ - debian/README.Debian \ - DICTIONARY \ - EXAMPLE.ANAGRAMS \ - HINTS \ - README \ - TODO || die -} - -pkg_postinst() { - einfo "Helpful note from an's author:" - einfo " If you do not have a dictionary you can obtain one from the" - einfo " following site: ftp://ftp.funet.fi/pub/doc/dictionaries/" - einfo " You will find a selection of dictionaries in many different" - einfo " languages here." -} |