You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
969 B
51 lines
969 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit desktop epatch toolchain-funcs
|
||
12 years ago
|
|
||
6 years ago
|
DEB_PATCH_VER="13"
|
||
12 years ago
|
DESCRIPTION="Mille Bournes card game"
|
||
|
HOMEPAGE="http://www.milleborne.info/"
|
||
|
SRC_URI="mirror://debian/pool/main/x/xmille/${PN}_${PV}.orig.tar.gz
|
||
|
mirror://debian/pool/main/x/xmille/${PN}_${PV}-${DEB_PATCH_VER}.diff.gz"
|
||
|
|
||
|
LICENSE="public-domain"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
12 years ago
|
IUSE=""
|
||
|
|
||
|
RDEPEND="x11-libs/libXext"
|
||
|
DEPEND="${RDEPEND}
|
||
|
app-text/rman
|
||
6 years ago
|
x11-misc/imake
|
||
|
"
|
||
12 years ago
|
|
||
6 years ago
|
S="${WORKDIR}/${P}.orig"
|
||
12 years ago
|
|
||
9 years ago
|
src_prepare() {
|
||
6 years ago
|
default
|
||
9 years ago
|
epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PATCH_VER}.diff
|
||
|
|
||
|
}
|
||
12 years ago
|
|
||
|
src_configure() {
|
||
|
xmkmf || die
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake -j1 \
|
||
|
AR="$(tc-getAR) clq" \
|
||
|
RANLIB="$(tc-getRANLIB)" \
|
||
|
CC="$(tc-getCC)" \
|
||
|
CDEBUGFLAGS="${CFLAGS}" \
|
||
|
EXTRA_LDOPTIONS="${LDFLAGS}"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
6 years ago
|
dobin xmille
|
||
|
einstalldocs
|
||
|
make_desktop_entry "${PN}" "Milles Bournes"
|
||
12 years ago
|
newman xmille.man xmille.6
|
||
|
}
|