diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-25 20:12:35 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-25 20:29:31 +0200 |
commit | 992668973d81f8829b2ed623a6d0a69232d2bc32 (patch) | |
tree | 4fec7c758f8636bfd1cad55be8bc653c0df21a36 /games-arcade/xscavenger | |
parent | games-arcade/xrick: Drop old (diff) | |
download | gentoo-992668973d81f8829b2ed623a6d0a69232d2bc32.tar.gz gentoo-992668973d81f8829b2ed623a6d0a69232d2bc32.tar.bz2 gentoo-992668973d81f8829b2ed623a6d0a69232d2bc32.zip |
games-arcade/xscavenger: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade/xscavenger')
-rw-r--r-- | games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild b/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild new file mode 100644 index 000000000000..6a578398112d --- /dev/null +++ b/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop epatch toolchain-funcs + +DESCRIPTION="Lode-Runner-like arcade game" +HOMEPAGE="http://www.xdr.com/dash/scavenger.html" +SRC_URI="http://www.xdr.com/dash/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libXext" +DEPEND="${RDEPEND} + x11-misc/imake +" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + default + epatch "${FILESDIR}/${PV}-gentoo.patch" + sed -i \ + -e "s:GENTOO_DATADIR:/usr/share:" \ + -e "s:GENTOO_BINDIR:/usr/bin:" \ + Imakefile \ + || die +} + +src_configure() { + xmkmf || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ../{CREDITS,DOC,README,TODO,changelog} + make_desktop_entry scavenger "XScavenger" +} |