initial commit
This commit is contained in:
2
games-arcade/mars-bin/Manifest
Normal file
2
games-arcade/mars-bin/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST mars_linux_0.7.1.tar.gz 72604889 RMD160 eac5f48e34e44de60d3a247a47f24a9140b20989 SHA1 875bc11d3119882ffaac61ddaf6dcf08a053b4f5 SHA256 86c4c827c8ec89d557ad6e84ee3ea8d34bc8f8ea13422e6a7e3e4dd16022ba08
|
||||
EBUILD mars-bin-0.7.1.ebuild 1500 RMD160 6b33dd24bc4cdfa1ef6629fef8323d8e591e8bf5 SHA1 90e86dfd62af87ab5f99b1c39f011c10b0580681 SHA256 77683f91cb3f8ac998dff47dc59a3a43bdcceee9e436c6ff6ad548fb77e4b152
|
69
games-arcade/mars-bin/mars-bin-0.7.1.ebuild
Normal file
69
games-arcade/mars-bin/mars-bin-0.7.1.ebuild
Normal file
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2010 Sabayon Linux
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
# TODO:
|
||||
# - use games eclass and uniform to that
|
||||
# - when upstream will grow, use sources (and not precompiled crap)
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="M.A.R.S. a ridiculous shooter"
|
||||
HOMEPAGE="http://mars-game.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/mars-game/mars_linux_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
S="${WORKDIR}/mars_linux_${PV}"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="virtual/opengl
|
||||
media-libs/flac
|
||||
media-libs/freetype
|
||||
media-libs/glew
|
||||
media-libs/jpeg:62
|
||||
media-libs/openal
|
||||
media-libs/libogg
|
||||
media-libs/libsndfile
|
||||
media-libs/libvorbis"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Nothing to prepare"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
dodir "/usr/share/${PN}"
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r "${S}/data"
|
||||
exeinto "/usr/share/${PN}"
|
||||
if use amd64; then
|
||||
mv "${S}/lib64" "${S}/lib" || die
|
||||
mv "${S}/marsshooter64" "${S}/${PN}.bin" || die
|
||||
else
|
||||
mv "${S}/lib64" "${S}/lib" || die
|
||||
mv "${S}/marsshooter64" "${S}/${PN}.bin" || die
|
||||
fi
|
||||
doexe "${S}/${PN}.bin" || die
|
||||
doins -r "${S}/lib"
|
||||
echo "MARS_LIBRARY_PATH=\"/usr/share/${PN}/lib\"" > "${S}/99-mars-bin"
|
||||
doenvd "${S}/99-mars-bin"
|
||||
|
||||
# exeinto /usr/bin
|
||||
# doexe "${FILESDIR}/${PN}" || die
|
||||
|
||||
mv "${S}/data/tex/icon.png" "${S}/${PN}.png" || die
|
||||
doicon "${S}/${PN}.png" || die
|
||||
|
||||
make_desktop_entry "${PN}" "M.A.R.S. is ridiculous" "/usr/share/pixmaps/${PN}.png" "Game" || die
|
||||
|
||||
}
|
Reference in New Issue
Block a user