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.
61 lines
1.2 KiB
61 lines
1.2 KiB
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 autotools desktop flag-o-matic
|
||
12 years ago
|
|
||
|
DESCRIPTION="X Window block dropping game in 3 Dimension"
|
||
11 years ago
|
HOMEPAGE="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/"
|
||
|
SRC_URI="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/xbl-${PV}.tar.gz"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-1"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
12 years ago
|
IUSE=""
|
||
|
|
||
6 years ago
|
RDEPEND="
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXext
|
||
|
"
|
||
12 years ago
|
DEPEND="${RDEPEND}"
|
||
|
|
||
6 years ago
|
S="${WORKDIR}/xbl-${PV}"
|
||
12 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
|
eapply "${FILESDIR}"/${P}-font.patch
|
||
12 years ago
|
sed -i \
|
||
|
-e '/^CC/d' \
|
||
|
-e 's:-lm:-lm -lX11:' \
|
||
|
-e '/DGROUP_GID/d' \
|
||
|
-e "s:-g$:${CFLAGS}:" \
|
||
11 years ago
|
Makefile.in || die
|
||
12 years ago
|
# Don't know about other archs. --slarti
|
||
|
use amd64 && filter-flags "-fweb"
|
||
6 years ago
|
|
||
|
mv configure.in configure.ac || die
|
||
11 years ago
|
eautoreconf
|
||
12 years ago
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake \
|
||
|
USE_SETGID= \
|
||
6 years ago
|
SCOREDIR="/usr/share/${PN}" \
|
||
|
RESOURCEDIR="/usr/share/${PN}" \
|
||
12 years ago
|
LDOPTIONS="${LDFLAGS}"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
6 years ago
|
newbin bl xbl
|
||
12 years ago
|
|
||
6 years ago
|
insinto /usr/share/${PN}
|
||
12 years ago
|
newins Xbl.ad Xbl
|
||
|
|
||
|
newman xbl.man xbl.6
|
||
|
dodoc README xbl-README
|
||
6 years ago
|
HTML_DOCS="*.html *.gif" einstalldocs
|
||
|
|
||
|
newicon xbl-game.gif ${PN}.gif
|
||
|
make_desktop_entry xbl XBlockOut /usr/share/pixmaps/${PN}.gif
|
||
12 years ago
|
}
|