mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-action/formido: drop 1.0.1-r1
Closes: https://github.com/gentoo/gentoo/pull/18409 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
committed by
David Seifert
parent
a0ebf8768a
commit
0508bc92fb
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop toolchain-funcs
|
||||
|
||||
DESCRIPTION="A shooting game in the spirit of Phobia games"
|
||||
HOMEPAGE="http://www.mhgames.org/oldies/formido/"
|
||||
SRC_URI="http://noe.falzon.free.fr/prog/${P}.tar.gz
|
||||
http://koti.mbnet.fi/lsoft/formido/formido-music.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT=0
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[sound,video]
|
||||
media-libs/sdl-image
|
||||
media-libs/sdl-mixer"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd "${S}"/data || die
|
||||
unpack ${PN}-music.tar.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:g++:$(tc-getCXX):" \
|
||||
-e "/^FLAGS=/s:$: ${CXXFLAGS}:" \
|
||||
-e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
|
||||
-e "s:\${DATDIR}:/usr/share/${PN}/data:" \
|
||||
-e "s:\${DEFCONFIGDIR}:/usr/share/${PN}:" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r ${PN}.cfg data
|
||||
newicon data/icon.dat ${PN}.bmp
|
||||
make_desktop_entry ${PN} Formido /usr/share/pixmaps/${PN}.bmp
|
||||
dodoc README README-1.0.1
|
||||
}
|
||||
Reference in New Issue
Block a user