diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-11 12:22:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-11 12:22:49 +0000 |
commit | 24cea9be2d2942f1a56de593b1a1455defa581f5 (patch) | |
tree | babf0042eddc7e1e9769bfc4c4e9aafa8e876c06 /games-simulation/senken | |
parent | fix dvdr support (diff) | |
download | gentoo-2-24cea9be2d2942f1a56de593b1a1455defa581f5.tar.gz gentoo-2-24cea9be2d2942f1a56de593b1a1455defa581f5.tar.bz2 gentoo-2-24cea9be2d2942f1a56de593b1a1455defa581f5.zip |
simulation type games
Diffstat (limited to 'games-simulation/senken')
-rw-r--r-- | games-simulation/senken/ChangeLog | 13 | ||||
-rw-r--r-- | games-simulation/senken/Manifest | 3 | ||||
-rw-r--r-- | games-simulation/senken/files/digest-senken-0.2.6 | 1 | ||||
-rw-r--r-- | games-simulation/senken/senken-0.2.6.ebuild | 48 |
4 files changed, 65 insertions, 0 deletions
diff --git a/games-simulation/senken/ChangeLog b/games-simulation/senken/ChangeLog new file mode 100644 index 000000000000..1e051b6d2dbd --- /dev/null +++ b/games-simulation/senken/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-games/senken +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/ChangeLog,v 1.1 2003/09/11 12:22:49 vapier Exp $ + + 01 Jul 2003; Michael Sterrett <msterret@gentoo.org> senken-0.2.6.ebuild: + use sed -i + sed in unpack instead of compile + NEWS is empty so don't try to install it + +*senken-0.2.6 (21 Jun 2003) + + 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me for #15037. diff --git a/games-simulation/senken/Manifest b/games-simulation/senken/Manifest new file mode 100644 index 000000000000..0b5ff0359c54 --- /dev/null +++ b/games-simulation/senken/Manifest @@ -0,0 +1,3 @@ +MD5 80efb13c32662ad4f0411d0aa436252e ChangeLog 518 +MD5 639ebd3a995c0f057ef6473bddfdbf29 senken-0.2.6.ebuild 1075 +MD5 bd89d6772450df2aeb99ff1213ec5ab4 files/digest-senken-0.2.6 65 diff --git a/games-simulation/senken/files/digest-senken-0.2.6 b/games-simulation/senken/files/digest-senken-0.2.6 new file mode 100644 index 000000000000..b447b5696f83 --- /dev/null +++ b/games-simulation/senken/files/digest-senken-0.2.6 @@ -0,0 +1 @@ +MD5 add156aff275c22e13bb0232e7aaec6f senken-0.2.6.tar.gz 1181922 diff --git a/games-simulation/senken/senken-0.2.6.ebuild b/games-simulation/senken/senken-0.2.6.ebuild new file mode 100644 index 000000000000..3ce593c3301b --- /dev/null +++ b/games-simulation/senken/senken-0.2.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/senken/senken-0.2.6.ebuild,v 1.1 2003/09/11 12:22:49 vapier Exp $ + +inherit games + +DESCRIPTION="city simulation game" +HOMEPAGE="http://www.contrib.andrew.cmu.edu/~tmartin/senken/" +SRC_URI="http://www.contrib.andrew.cmu.edu/~tmartin/senken/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="nls" + +DEPEND="=x11-libs/gtk+-1* + >=sys-apps/sed-4 + virtual/x11 + >=media-libs/libsdl-1.2.4 + media-libs/sdl-image" + +src_unpack() { + unpack ${A} + cd ${S} && \ + sed -i \ + -e "s:/usr/local/share:${GAMES_DATADIR}:" \ + lib/utils.h || die "sed lib/utils.h failed" + +} +src_compile() { + egamesconf `use_enable nls` || die + emake || die +} + +src_install() { + make install DESTDIR=${D} || die + dodoc AUTHORS README TODO + + cd ${D}/${GAMES_PREFIX} + dodir ${GAMES_DATADIR} + mv share/senken ${D}/${GAMES_DATADIR}/ + rm -rf include lib man share + + insinto ${GAMES_DATADIR}/senken/img + doins ${S}/img/*.png + + prepgamesdirs +} |