games-arcade/defendguin - 0.0.12 (gentoo)

Search

Install

Install this version:

emerge -a =games-arcade/defendguin-0.0.12

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-arcade/defendguin-0.0.12

Or alternatively:

emerge --autounmask-write -a =games-arcade/defendguin-0.0.12

Package Information

Description:
Clone of the arcade game Defender, but with a Linux theme
Homepage:
http://www.newbreedsoftware.com/defendguin/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.0.12 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop toolchain-funcs

DESCRIPTION="Clone of the arcade game Defender, but with a Linux theme"
HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
SRC_URI="
	https://tuxpaint.org/ftp/unix/x/defendguin/src/${P}.tar.gz
	https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${PN}.png"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	media-libs/libsdl[joystick,sound,video]
	media-libs/sdl-mixer[mod]"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	tc-export CC
	sed	-e "s|\$(DATA_PREFIX)|${EPREFIX}/usr/share/${PN}/|" \
		-e '/^CFLAGS=.*-O2/d' \
		-e '/^CFLAGS=/s|=|+= $(CPPFLAGS) $(LDFLAGS) |' \
		-i Makefile || die
	rm data/images/l2r.sh || die
}

src_install() {
	dobin ${PN}

	insinto /usr/share/${PN}
	doins -r data/.

	doicon "${DISTDIR}"/${PN}.png
	make_desktop_entry ${PN} ${PN^}

	doman src/${PN}.6
	dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
}

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libsdl[joystick,sound,video]
	media-libs/sdl-mixer[mod]

RDEPEND

	media-libs/libsdl[joystick,sound,video]
	media-libs/sdl-mixer[mod]

Manifest for 0.0.12

Type File Size Source URLs
DIST defendguin-0.0.12.tar.gz 2235694 bytes https://tuxpaint.org/ftp/unix/x/defendguin/src/defendguin-0.0.12.tar.gz
DIST defendguin.png 4444 bytes https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/defendguin.png