games-puzzle/xdemineur - 2.1.1 (guru)

Search

Install

Install this version:

emerge -a =games-puzzle/xdemineur-2.1.1

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

autounmask =games-puzzle/xdemineur-2.1.1

Or alternatively:

emerge --autounmask-write -a =games-puzzle/xdemineur-2.1.1

Package Information

Description:
Minesweeper clone for the X11 windowing system
Homepage:
https://salsa.debian.org/debian/xdemineur
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.1.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Minesweeper clone for the X11 windowing system"
HOMEPAGE="https://salsa.debian.org/debian/xdemineur"

SRC_URI="https://deb.debian.org/debian/pool/main/x/${PN}/xdemineur_${PV}.orig.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	x11-misc/imake
"
RDEPEND="
	x11-libs/libX11
	x11-libs/libXext
	x11-libs/libXpm
"
DEPEND="
	${RDEPEND}
"

PATCHES=(
	"${FILESDIR}/${P}-include.patch"
)

src_configure() {
	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
		IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}

src_compile() {
	emake \
		CC="$(tc-getCC)" \
		CDEBUGFLAGS="${CFLAGS}" \
		LOCAL_LDFLAGS="${LDFLAGS}"
}

src_install() {
	default
	emake DESTDIR="${D}" install.man
}

Inherited Eclasses

Dependencies

DEPEND

	
	x11-libs/libX11
	x11-libs/libXext
	x11-libs/libXpm

RDEPEND

	x11-libs/libX11
	x11-libs/libXext
	x11-libs/libXpm

BDEPEND

	x11-misc/imake

Manifest for 2.1.1

Type File Size Source URLs
DIST xdemineur-2.1.1.tar.gz 15633 bytes https://deb.debian.org/debian/pool/main/x/xdemineur/xdemineur_2.1.1.orig.tar.gz