mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
games-strategy/crimson: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
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() {
|
||||
egamesconf \
|
||||
--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
|
||||
dodoc NEWS README* THANKS TODO
|
||||
rm -rf "${D}/${GAMES_DATADIR}/applications"
|
||||
make_desktop_entry crimson "Crimson Fields"
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
echo
|
||||
ewarn "Crimson Fields ${PV} is not necessarily save-game compatible with previous versions."
|
||||
echo
|
||||
elog "If you have older save files and you wish to continue those games,"
|
||||
elog "you'll need to remerge the version with which you started"
|
||||
elog "those save-games."
|
||||
}
|
||||
Reference in New Issue
Block a user