diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-25 11:05:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-25 11:05:48 +0000 |
commit | 277cf850d04e66337c36333e88b1eff0dd752991 (patch) | |
tree | cfbd83a854b5da48c311f74aabb3c8627702ddd5 /games-util/hearse | |
parent | initial commit (bug 33647) (diff) | |
download | gentoo-2-277cf850d04e66337c36333e88b1eff0dd752991.tar.gz gentoo-2-277cf850d04e66337c36333e88b1eff0dd752991.tar.bz2 gentoo-2-277cf850d04e66337c36333e88b1eff0dd752991.zip |
initial commit (bug 33647)
Diffstat (limited to 'games-util/hearse')
-rw-r--r-- | games-util/hearse/ChangeLog | 9 | ||||
-rw-r--r-- | games-util/hearse/Manifest | 4 | ||||
-rw-r--r-- | games-util/hearse/files/digest-hearse-1.4 | 1 | ||||
-rw-r--r-- | games-util/hearse/hearse-1.4.ebuild | 52 | ||||
-rw-r--r-- | games-util/hearse/metadata.xml | 9 |
5 files changed, 74 insertions, 1 deletions
diff --git a/games-util/hearse/ChangeLog b/games-util/hearse/ChangeLog new file mode 100644 index 000000000000..931e761a744c --- /dev/null +++ b/games-util/hearse/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for games-util/hearse +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/ChangeLog,v 1.1 2003/11/25 11:05:46 mr_bones_ Exp $ + +*hearse-1.4 (25 Nov 2003) + + 25 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> hearse-1.4.ebuild: + initial commit; ebuild supplied by Eric Harney via bug 33647 (modified) + diff --git a/games-util/hearse/Manifest b/games-util/hearse/Manifest index dcb5cb817b61..352099ddee4a 100644 --- a/games-util/hearse/Manifest +++ b/games-util/hearse/Manifest @@ -1,2 +1,4 @@ -MD5 48c4445299158c1615e248577a8d6156 hearse-1.4.ebuild 1085 +MD5 3405d281e2ae0820799d08c07eb8bd21 hearse-1.4.ebuild 1471 +MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 +MD5 a848e4bc24a74444208d134cce3ef394 ChangeLog 395 MD5 3ceb3c5566fa1559bf44d823cdb63fe8 files/digest-hearse-1.4 61 diff --git a/games-util/hearse/files/digest-hearse-1.4 b/games-util/hearse/files/digest-hearse-1.4 new file mode 100644 index 000000000000..e7ca7f71cd4d --- /dev/null +++ b/games-util/hearse/files/digest-hearse-1.4 @@ -0,0 +1 @@ +MD5 ea0ded31077f52dd0a98c97f19a6038c hearse-1.4.tar.gz 27647 diff --git a/games-util/hearse/hearse-1.4.ebuild b/games-util/hearse/hearse-1.4.ebuild new file mode 100644 index 000000000000..2a3dea90ba96 --- /dev/null +++ b/games-util/hearse/hearse-1.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/hearse/hearse-1.4.ebuild,v 1.1 2003/11/25 11:05:46 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="exchange Nethack bones files with other players" +HOMEPAGE="http://www.argon.org/~roderick/hearse/" +SRC_URI="http://www.argon.org/~roderick/hearse/dist/${P}.tar.gz" + +KEYWORDS="~x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/perl-5.8.0 + >=games-roguelike/nethack-3.4.1 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + # patch because Gentoo's nethack ebuild uses bz2 and not gz for bones + sed -i \ + -e "s:gzip :bzip2 :" \ + -e "s:.gz:.bz2:" hearse || \ + die "sed hearse failed" + sed -i \ + -e 's:gzip :bzip2 :' \ + -e "s:gz|z|Z:bz2:" bones-info || \ + die "sed bones-info failed" +} +src_compile() { + perl Makefile.PL || die "perl failed" + emake || die "emake failed" +} + +src_install() { + dogamesbin hearse bones-info || die "dogamesbin failed" + doman blib/man1/*.1 || die "doman failed" + dodoc Notes README debian/changelog || die "dodoc failed" + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + einfo "As root, run \"${GAMES_BINDIR}/hearse --user-email your@address.com\" to activate." + einfo "Add the following to /etc/crontab to automatically exchange bones:" + einfo " 0 3 * * * root perl -we 'sleep rand 3600'; ${GAMES_BINDIR}/hearse --quiet" +} diff --git a/games-util/hearse/metadata.xml b/games-util/hearse/metadata.xml new file mode 100644 index 000000000000..1cef6e243af3 --- /dev/null +++ b/games-util/hearse/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> +<email>games@gentoo.org</email> +<name>Games Team</name> +</maintainer> +</pkgmetadata> |