mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
games-puzzle/rezerwar: drop 0.4.2-r1
Closes: https://github.com/gentoo/gentoo/pull/17761 Package-Manager: Portage-3.0.4, Repoman-3.0.1 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
a0780ba553
commit
b0501f8c19
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Puzzle game like the known tetromino and the average pipe games"
|
||||
HOMEPAGE="http://tamentis.com/projects/rezerwar/"
|
||||
SRC_URI="http://tamentis.com/projects/rezerwar/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[sound,joystick,video]
|
||||
media-libs/sdl-mixer[vorbis]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e '/check_sdl$/d' \
|
||||
-e 's/-O2 //' \
|
||||
configure \
|
||||
|| die 'sed failed'
|
||||
sed -i \
|
||||
-e '/CC.*OBJECTS/s:$(CC):$(CC) $(LDFLAGS):' \
|
||||
mkfiles/Makefile.src \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
SDLCONFIG=sdl-config \
|
||||
TARGET_BIN="/usr/bin" \
|
||||
TARGET_DOC=/usr/share/doc/${PF} \
|
||||
TARGET_DATA="/usr/share/${PN}" \
|
||||
./configure || die "configure failed"
|
||||
sed -i \
|
||||
-e '/TARGET_DOC/d' \
|
||||
Makefile \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
default
|
||||
dodoc doc/{CHANGES,README,TODO}
|
||||
make_desktop_entry rezerwar Rezerwar
|
||||
}
|
||||
Reference in New Issue
Block a user