Add OilRush game (games-strategy/oilrush)
new file: games-strategy/oilrush/Manifest new file: games-strategy/oilrush/oilrush-1.35.ebuild
This commit is contained in:
parent
6f0137cc3a
commit
c174cb7bf9
|
@ -0,0 +1,2 @@
|
|||
DIST OilRush_1.35_Linux_1370041755.run 824623035 SHA256 59d3ebb48e33562d29b273af6d939bdd31d5aefa82c3f07d6c986a0f79ff2918 SHA512 cc76c70cdfafd5102bcbd8220196568a2656edb319e6a029d87f434f83988d827975a55c771e675875aed65bf6f8f677aef1c7a81525c39cfe6ddd5ad0047f50 WHIRLPOOL fe336edbe1d866bbc68cf2fce41fc5c5111c75e716c5792ee83fb6957fd9a12dbacc1645ec7ae91706b7c3d188abff25a3160aaeffc63c0150a4afebf87ef3c2
|
||||
EBUILD oilrush-1.35.ebuild 1524 SHA256 3045a27643dba920e10ef806ddc528bdd479e952284c0b5804a2ad9f031d2bb9 SHA512 c3e997a39f546bee73dabc8e2bd9c92fc3b2cfb71b56de0570c77d4b94ec3d152123977a5b01daa650518d52d3b84594d539e08dbc2a8728e07966d6aeee4e59 WHIRLPOOL 8d82d208c8c82f7209751f0cb0417a9142f04fb021cb855c9f8763c97c3fa85a96b99025a55a9d1a7339ca5790dac8c1dd1ad0b0f5a6632ca56b0b35dd5f4c79
|
|
@ -0,0 +1,77 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
inherit games check-reqs unpacker eutils
|
||||
|
||||
HOMEPAGE="http://oilrush-game.com/"
|
||||
DESCRIPTION="A naval strategy game by Unigine Corp"
|
||||
RESTRICT="fetch strip"
|
||||
LICENSE="all-rigts-reserved"
|
||||
TIMESTAMP="1370041755"
|
||||
IUSE="bundled-libs"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="OilRush_${PV}_Linux_${TIMESTAMP}.run"
|
||||
RDEPEND="virtual/opengl
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libxcb
|
||||
app-arch/bzip2
|
||||
!bundled-libs? ( media-libs/openal )
|
||||
"
|
||||
|
||||
|
||||
|
||||
CHECKREQS_DISK_BUILD="1330M"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please buy & download ${SRC_URI} from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
S=${WORKDIR}
|
||||
GAMEDIR=${GAMES_PREFIX_OPT}/${PN}
|
||||
|
||||
src_unpack(){
|
||||
unpack_makeself
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
local NOTMYARCH=$(usex amd64 "x86 x64")
|
||||
if ! use bundled-libs ; then
|
||||
einfo "Removing bundled OpenAL..."
|
||||
rm -v bin/libopenal.so*
|
||||
fi
|
||||
|
||||
rm bin/*${NOTMYARCH}*
|
||||
}
|
||||
|
||||
|
||||
src_install(){
|
||||
insinto ${GAMEDIR}
|
||||
exeinto ${GAMEDIR}
|
||||
dodoc documentation/user_manual.pdf
|
||||
doicon data/launcher/${PN}.png
|
||||
doexe launcher.sh
|
||||
doins -r data bin
|
||||
doins ${PN}.cfg
|
||||
|
||||
make_desktop_entry ${PN} "Oil Rush"
|
||||
games_make_wrapper ${PN} "./launcher.sh" ${GAMEDIR}
|
||||
|
||||
local myarch=$(usex amd64 "x64" "x86")
|
||||
fperms +x ${GAMEDIR}/bin/launcher_${myarch}
|
||||
fperms +x ${GAMEDIR}/bin/OilRush_${myarch}
|
||||
|
||||
prepgamesdirs
|
||||
}
|
Loading…
Reference in New Issue