Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- assaultcube: old, broken, unsupported; see more in ::sunrise

  • Loading branch information...
commit 65cec05486c984c99680c5fc8a9f65324104cf3a 1 parent 976713e
@l29ah authored
View
2  games-fps/assaultcube/Manifest
@@ -1,2 +0,0 @@
-DIST AssaultCube_v1.0.2.tar.bz2 42673504 RMD160 d95f2d8b569aeb7e7dd9f7d654b51bae26635c54 SHA1 7b0ad8c1c3960eed59a14b22aa25d40afe080275 SHA256 d4de1b1154c8aceccc0e961b751d01fd506f359472a648b88c639f99eb18c795
-EBUILD assaultcube-1.0.2.ebuild 2004 RMD160 c88501fdfe0b22684d1dcc1a838c47a7b67d0bb9 SHA1 2841ce37b740eb1c052bf4c11ae00d558b18c9bb SHA256 49c10799f27715585e2e66451d07fbc43464c100510edd9afb39ab18f34cc68a
View
85 games-fps/assaultcube/assaultcube-1.0.2.ebuild
@@ -1,85 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils multilib games
-
-EAPI=2
-
-MY_PN="AssaultCube"
-DESCRIPTION="AssaultCube - Fast and fun first-person-shooter based on the Cube fps"
-HOMEPAGE="http://assault.cubers.net"
-SRC_URI="mirror://sourceforge/actiongame/${MY_PN}_v${PV}.tar.bz2"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+client server"
-RESTRICT="strip"
-
-DEPEND="sys-libs/glibc
- client? (
- media-libs/openal
- media-libs/mesa
- media-libs/freeglut
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- media-libs/libpng
- virtual/opengl )"
-
-S=${WORKDIR}/${MY_PN}_v${PV}
-
-pkg_setup() {
- if use !client && use !server ; then
- ewarn "You need to build the client or the server";
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"/source/src
- cp "${FILESDIR}"/Makefile Makefile
-}
-
-src_compile() {
- cd "${S}"/source/src
-
- emake libenet || die "emake libenet failed"
-
- if use client ; then
- emake CXXOPTFLAGS="${CXXFLAGS}" client || die "emake client failed"
- fi
-
- if use server ; then
- emake CXXOPTFLAGS="${CXXFLAGS}" server || die "emake server failed"
- fi
-}
-
-src_install() {
- if use client ; then
- exeinto "$(games_get_libdir)"/${PN}
- doexe source/src/ac_client || die
- mv assaultcube.sh assaultcube
- exeinto "${GAMES_BINDIR}"
- doexe "${FILESDIR}"/assaultcube
- dosed "s-^CUBE_DIR=/usr/games/lib/assaultcube-CUBE_DIR=$(games_get_libdir)/${PN}-" "${GAMES_BINDIR}"/assaultcube
- insinto "${GAMES_DATADIR}"/"${PN}"
- doins -r bot config icon.ico packages || die
- make_desktop_entry ${PN} ${PN}
- fi
-
- if use server ; then
- exeinto "$(games_get_libdir)"/${PN}
- doexe source/src/ac_server || die
- mv server.sh assaultcube-server
- exeinto "${GAMES_BINDIR}"
- doexe "${FILESDIR}"/assaultcube_server
- dosed "s-^CUBE_DIR=/usr/games/lib/assaultcube-CUBE_DIR=$(games_get_libdir)/${PN}-" "${GAMES_BINDIR}"/assaultcube_server
- fi
-
- dohtml -r README.html docs mods
-
- prepgamesdirs
-}
Please sign in to comment.
Something went wrong with that request. Please try again.