summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-06-23 22:25:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-06-23 22:25:18 +0000
commita3dc7734c91f1c90de13c0e2138965701b5ba3ae (patch)
tree5cdeecfc37f1d1131f1f4330902ee898239d43ed /games-simulation
parentVersion bump. (diff)
downloadgentoo-2-a3dc7734c91f1c90de13c0e2138965701b5ba3ae.tar.gz
gentoo-2-a3dc7734c91f1c90de13c0e2138965701b5ba3ae.tar.bz2
gentoo-2-a3dc7734c91f1c90de13c0e2138965701b5ba3ae.zip
initial commit - ebuild submitted by Anno v. Heimburg via bug #94809
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/lincity-ng/ChangeLog10
-rw-r--r--games-simulation/lincity-ng/Manifest2
-rw-r--r--games-simulation/lincity-ng/files/digest-lincity-ng-1.01
-rw-r--r--games-simulation/lincity-ng/lincity-ng-1.0.ebuild53
-rw-r--r--games-simulation/lincity-ng/metadata.xml5
5 files changed, 71 insertions, 0 deletions
diff --git a/games-simulation/lincity-ng/ChangeLog b/games-simulation/lincity-ng/ChangeLog
new file mode 100644
index 000000000000..f17db304dc8d
--- /dev/null
+++ b/games-simulation/lincity-ng/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-simulation/lincity-ng
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/ChangeLog,v 1.1 2005/06/23 22:25:17 mr_bones_ Exp $
+
+*lincity-ng-1.0 (23 Jun 2005)
+
+ 23 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +lincity-ng-1.0.ebuild:
+ initial commit - ebuild submitted by Anno v. Heimburg via bug #94809
+
diff --git a/games-simulation/lincity-ng/Manifest b/games-simulation/lincity-ng/Manifest
new file mode 100644
index 000000000000..d7fca45f076c
--- /dev/null
+++ b/games-simulation/lincity-ng/Manifest
@@ -0,0 +1,2 @@
+MD5 91e95382eaee3f509390810a656852c9 lincity-ng-1.0.ebuild 1357
+MD5 27b868ce0b069751e5b02f4861acca4d files/digest-lincity-ng-1.0 69
diff --git a/games-simulation/lincity-ng/files/digest-lincity-ng-1.0 b/games-simulation/lincity-ng/files/digest-lincity-ng-1.0
new file mode 100644
index 000000000000..f69d28f85a70
--- /dev/null
+++ b/games-simulation/lincity-ng/files/digest-lincity-ng-1.0
@@ -0,0 +1 @@
+MD5 606253d145dcf9992ed8eea47e6795f3 lincity-ng-1.0.tar.bz2 34724931
diff --git a/games-simulation/lincity-ng/lincity-ng-1.0.ebuild b/games-simulation/lincity-ng/lincity-ng-1.0.ebuild
new file mode 100644
index 000000000000..5240715c6226
--- /dev/null
+++ b/games-simulation/lincity-ng/lincity-ng-1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/lincity-ng-1.0.ebuild,v 1.1 2005/06/23 22:25:17 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="city/country simulation game for X and opengl"
+HOMEPAGE="http://lincity-ng.berlios.de/"
+SRC_URI="http://download.berlios.de/lincity-ng/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="virtual/x11
+ virtual/opengl
+ >=sys-libs/zlib-1.0.0
+ >=dev-libs/libxml2-2.6.11
+ >=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-mixer-1.2.4
+ >=media-libs/sdl-image-1.2.3
+ >=media-libs/sdl-ttf-2.0.0
+ >=media-libs/sdl-gfx-2.0.13
+ >=dev-games/physfs-1.0.0"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/jam-2.5"
+
+pkg_setup() {
+ if ! built_with_use -o media-libs/sdl-mixer vorbis oggvorbis ; then
+ eerror "lincity-ng doesn't work properly if"
+ eerror "sdl-mixer is built without vorbis support"
+ die "Please emerge sdlmixer with USE=vorbis"
+ fi
+ games_pkg_setup
+}
+
+src_compile() {
+ egamesconf || die "configure failed"
+ jam || die "jam failed"
+}
+
+src_install() {
+ jam -sDESTDIR="${D}" \
+ -sappdocdir="/usr/share/doc/${PF}" \
+ -sapplicationsdir="/usr/share/applications" \
+ -spixmapsdir="/usr/share/pixmaps" \
+ install \
+ || die "jam install failed"
+ prepgamesdirs
+}
diff --git a/games-simulation/lincity-ng/metadata.xml b/games-simulation/lincity-ng/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-simulation/lincity-ng/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>