diff options
Diffstat (limited to 'games-simulation/micropolis/micropolis-1.0-r2.ebuild')
-rw-r--r-- | games-simulation/micropolis/micropolis-1.0-r2.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/games-simulation/micropolis/micropolis-1.0-r2.ebuild b/games-simulation/micropolis/micropolis-1.0-r2.ebuild deleted file mode 100644 index c329f78b0817..000000000000 --- a/games-simulation/micropolis/micropolis-1.0-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop eutils toolchain-funcs - -DESCRIPTION="Free version of the well-known city building simulation" -HOMEPAGE="http://www.donhopkins.com/home/micropolis/" -SRC_URI="http://www.donhopkins.com/home/micropolis/${PN}-activity-source.tgz - http://rmdir.de/~michael/${PN}_git.patch" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - media-libs/libsdl - media-libs/sdl-mixer - x11-libs/libX11 - x11-libs/libXpm" -DEPEND="${RDEPEND}" -BDEPEND="sys-devel/bison" - -S=${WORKDIR}/${PN}-activity/ - -PATCHES=( - "${DISTDIR}"/${PN}_git.patch - "${FILESDIR}/micropolis-glibc-2.27.patch" - "${FILESDIR}/micropolis-remove-matherr.patch" -) - -src_unpack() { - unpack ${PN}-activity-source.tgz -} - -src_prepare() { - default - - sed -i -e "s:-O3:${CFLAGS}:" \ - src/tclx/config.mk src/{sim,tcl,tk}/makefile || die - sed -i -e "s:XLDFLAGS=:&${LDFLAGS}:" \ - src/tclx/config.mk || die -} - -src_compile() { - emake -C src LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" -} - -src_install() { - local dir=/usr/share/${PN} - - exeinto "${dir}/res" - doexe src/sim/sim - insinto "${dir}" - doins -r activity cities images manual res - - make_wrapper micropolis res/sim "${dir}" - doicon Micropolis.png - make_desktop_entry micropolis "Micropolis" Micropolis -} |