diff options
Diffstat (limited to 'app-text/an')
-rw-r--r-- | app-text/an/Manifest | 6 | ||||
-rw-r--r-- | app-text/an/an-1.2-r1.ebuild | 39 | ||||
-rw-r--r-- | app-text/an/an-1.2.ebuild | 40 | ||||
-rw-r--r-- | app-text/an/metadata.xml | 8 |
4 files changed, 93 insertions, 0 deletions
diff --git a/app-text/an/Manifest b/app-text/an/Manifest new file mode 100644 index 000000000000..a58b0261bfc5 --- /dev/null +++ b/app-text/an/Manifest @@ -0,0 +1,6 @@ +DIST an_1.2.orig.tar.xz 13196 SHA256 b925d57d80bd0d83b755f5b8d78e6d5bf05eb059ec84a7d8fbb77b18c73b17a5 SHA512 919c525aa1215e3c1b2200c6820a357c6406c19b7447147cc4243d339c554b9892bea11797769df0bf96dd72c89f61bf3d977769faf9bc7f9edf609a7daeac3d WHIRLPOOL 45f4f39a2560b5db5457ac352d7617d04667f3d3ca17cc6a91172fe479f537ac69723b9e47b2fadc8446b6bf20b81920beb61669370378239361333eeb2de7a1 +EBUILD an-1.2-r1.ebuild 770 SHA256 1c6f072c4b36a741741eed791a0badae94e1970e8b2e13ea79be0be82a36d2a0 SHA512 618ae33718d53a0702798933fe3ee2c14856f76aee53682ea60c2baddc7c28f4800753cdc1f61a21cc9097824716d1d2237291d306d6642fbdabd4755299b226 WHIRLPOOL 5b8999e463388370ba97452a33b9d7dc79b6c9e4da82df5246aef8686bd1724401444668d3520c119d0bcb84eba48108d3ace13514c8b90397c0f5b0124a0204 +EBUILD an-1.2.ebuild 719 SHA256 16a3827bcc749f3f914f50763de22156831e127aed80756dedea3e0d15431647 SHA512 774b56f85bc3d9812e5824551f83aebca3d08e34e0857030cca8b378f57ab5032d6a6f5f1f0bc6b766df0c2b825b0cf91e30d259e4f6fb772ad374cc4b447d1b WHIRLPOOL 602e003e9fccf3b603c5807b076a73c2ca238e0750c4414a347088e91420798879978250c781a9ed3103acbcb7635d3178c86a4376d79ae6fe008b90847c5914 +MISC ChangeLog 2550 SHA256 a740fc15fe19172d24c99496c567745a180f3480375516fc19e327295e1730da SHA512 7e51ef8be714cf23829ca353ba16dc76ea50dd2e77d80e14ff29d6ea413fd02d49a015c1f0b57935a55551375bdcf5c5161ba27a2f86e2127219d4494d9cd57f WHIRLPOOL b15257d06ebf9800c98e0b4a590b60c245b39d405224bf43a992fa68b412005dad98f0deabde3b5cd6faf59cd65de301cd19e8eee0f937502005ba98a89ae689 +MISC ChangeLog-2015 6278 SHA256 b8102bc4d877b2bcf5021811a1c06bb0416d2e1b6d55b033da40859023c75bab SHA512 149128b288771d30d8950f74b77fdbd28d620688fd278adb0c18ea217d005b90e57197ed34ec7bb026135c29bc92980cc9fe5a8d0f55bd7dd9b43b492258834c WHIRLPOOL 0157b0413e178c95eb407e7eed7c5055fa352753d8baae749591dba1ee95b78e80767eba7e5c7f526841815d33acd589e5557f0695d4f669ab838e07319ee2ed +MISC metadata.xml 242 SHA256 2dd8816f3b3c6c2b406b58b4e8afe619429cfdfdbffde31cf1513aa89497f9d2 SHA512 01fa45ae0901d0f1bbae0a22f72b4c999c24b4718a0a1f7cf8db80ebb29c9a97903246e560ec7e5d5e6800f425b7e32172802206109e67545aa82b2fbac13cf9 WHIRLPOOL b2342fa2a6426a490ddece46c240f7d28c3deccbe179d287bfb7d5d6c47727800bcfe57832ce25052e8575d4851c363058a1f7e0288f4b3e6e0cde54e77fc09b diff --git a/app-text/an/an-1.2-r1.ebuild b/app-text/an/an-1.2-r1.ebuild new file mode 100644 index 000000000000..d9c01423a53c --- /dev/null +++ b/app-text/an/an-1.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="Very fast anagram generator with dictionary lookup" +HOMEPAGE="http://packages.debian.org/unstable/games/an" + +SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DEPEND=" + dev-libs/icu:= +" +RDEPEND=" + ${DEPEND} + sys-apps/miscfiles[-minimal] +" + +src_prepare() { + default + + sed -i \ + -e '/^CC/s|:=|?=|' \ + -e 's|$(CC) $(CFLAGS)|& $(LDFLAGS)|g' \ + -e '/^CPPFLAGS/s|-D_BSD_SOURCE=1 -D_GNU_SOURCE=1|-D_DEFAULT_SOURCE=1|g' \ + Makefile || die + tc-export CC +} + +src_install() { + dobin ${PN} + newman ${PN}.6 ${PN}.1 + dodoc ALGORITHM +} diff --git a/app-text/an/an-1.2.ebuild b/app-text/an/an-1.2.ebuild new file mode 100644 index 000000000000..ee3b460ecd60 --- /dev/null +++ b/app-text/an/an-1.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Very fast anagram generator with dictionary lookup" +HOMEPAGE="http://packages.debian.org/unstable/games/an" + +SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 x86" +IUSE="" + +CDEPEND=" + dev-libs/icu:= +" +DEPEND=" + app-arch/xz-utils +" +RDEPEND=" + ${CDEPEND} + sys-apps/miscfiles[-minimal] +" + +src_prepare() { + sed -i \ + -e '/^CC/s|:=|?=|' \ + -e 's|$(CC) $(CFLAGS)|& $(LDFLAGS)|g' \ + Makefile || die + tc-export CC +} + +src_install() { + dobin ${PN} + newman ${PN}.6 ${PN}.1 + dodoc ALGORITHM +} diff --git a/app-text/an/metadata.xml b/app-text/an/metadata.xml new file mode 100644 index 000000000000..f5037f14a3cb --- /dev/null +++ b/app-text/an/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>jer@gentoo.org</email> + <name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> |