diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 20:51:49 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 21:35:52 +0200 |
commit | be0919e950aa596d2ca2e7984f7d89bc08bba1f4 (patch) | |
tree | 56c8bad55a72e64f6add472cae53533851b10a85 /games-strategy/crimson | |
parent | games-sports/foobillard: Drop old (diff) | |
download | gentoo-be0919e950aa596d2ca2e7984f7d89bc08bba1f4.tar.gz gentoo-be0919e950aa596d2ca2e7984f7d89bc08bba1f4.tar.bz2 gentoo-be0919e950aa596d2ca2e7984f7d89bc08bba1f4.zip |
games-strategy/crimson: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-strategy/crimson')
-rw-r--r-- | games-strategy/crimson/crimson-0.5.3-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild new file mode 100644 index 000000000000..ad228438eb35 --- /dev/null +++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Tactical war game in the tradition of Battle Isle" +HOMEPAGE="http://crimson.seul.org/" +SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test zlib" + +RDEPEND=" + media-libs/libsdl[sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-net + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + dev-libs/libxslt + test? ( + app-text/docbook-xml-dtd:4.2 + dev-libs/libxml2 + ) +" + +src_configure() { + econf \ + --enable-sound \ + --enable-network \ + $(use_with zlib) \ + --enable-cfed \ + --enable-bi2cf \ + --enable-comet \ + --enable-cf2bmp +} + +src_install() { + emake \ + DESTDIR="${D}" \ + pixmapsdir="/usr/share/pixmaps" \ + install + einstalldocs + rm -rf "${ED}/usr/share/applications" + make_desktop_entry crimson "Crimson Fields" +} |