From 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Mar 2021 14:27:17 +0000 Subject: gentoo resync : 20.03.2021 --- .../maitretarot/maitretarot-0.1.98-r2.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 games-board/maitretarot/maitretarot-0.1.98-r2.ebuild (limited to 'games-board/maitretarot/maitretarot-0.1.98-r2.ebuild') diff --git a/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild b/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild new file mode 100644 index 000000000000..a53f75ae021d --- /dev/null +++ b/games-board/maitretarot/maitretarot-0.1.98-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Server for the french tarot game maitretarot" +HOMEPAGE="http://www.nongnu.org/maitretarot/" +SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/glib:2 + dev-libs/libxml2 + dev-games/libmaitretarot" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-format.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Remove bundled macros (avoid patching same file multiple times) + rm -rf m4/{libmaitretarot,libmt_client}.m4 || die + + # Ensure we generate auto* with the fixed macros in tree + # (not bundled) + # bug #739142 + eautoreconf +} + +src_configure() { + econf --with-default-config-file="/etc/maitretarotrc.xml" +} -- cgit v1.2.3