diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-server/mtavc | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-server/mtavc')
-rw-r--r-- | games-server/mtavc/Manifest | 1 | ||||
-rw-r--r-- | games-server/mtavc/files/mtavc | 3 | ||||
-rw-r--r-- | games-server/mtavc/metadata.xml | 5 | ||||
-rw-r--r-- | games-server/mtavc/mtavc-0.5.ebuild | 47 |
4 files changed, 56 insertions, 0 deletions
diff --git a/games-server/mtavc/Manifest b/games-server/mtavc/Manifest new file mode 100644 index 000000000000..b2c70df8fce6 --- /dev/null +++ b/games-server/mtavc/Manifest @@ -0,0 +1 @@ +DIST MTAServer0_5-linux.tar.gz 229056 SHA256 0e4b58658299ac79b1ae6d0bbd4946fc22a7e063986896e69a0749a38c9d17b1 SHA512 eed0ec109427c53c9627826f1977b4a2454be0130d445b2ff7288e3f93b93d76d21b22ffdb706d306009baffd37bd317f9573a9650477e25146ff5d3b49f9c1f WHIRLPOOL d5ce31869569c3f322b4bc3cfeee5435c693cc9e16662425ac31bd1120a5528d1ad630fb055c82048ca51c2e5c07b1b205844f8bc5569b532d1e2cd28f603174 diff --git a/games-server/mtavc/files/mtavc b/games-server/mtavc/files/mtavc new file mode 100644 index 000000000000..00b76f9d6f18 --- /dev/null +++ b/games-server/mtavc/files/mtavc @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +exec ./MTAServer "$@" diff --git a/games-server/mtavc/metadata.xml b/games-server/mtavc/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-server/mtavc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-server/mtavc/mtavc-0.5.ebuild b/games-server/mtavc/mtavc-0.5.ebuild new file mode 100644 index 000000000000..d3ad615f523e --- /dev/null +++ b/games-server/mtavc/mtavc-0.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="dedicated server for GTA3 multiplayer" +HOMEPAGE="http://mtavc.com/" +SRC_URI="http://files.gonnaplay.com/201/MTAServer0_5-linux.tar.gz" + +LICENSE="MTA-0.5" +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="" + +RDEPEND="virtual/libstdc++" +DEPEND="" + +S=${WORKDIR} + +QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/MTAServer" +QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/${PN}/MTAServer" + +src_prepare() { + sed -i 's:NoName:Gentoo:' mtaserver.conf || die +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + local files="banned.lst motd.txt mtaserver.conf" + local f + + dogamesbin "${FILESDIR}"/mtavc + sed -i -e "s:GENTOO_DIR:${dir}:" "${D}${GAMES_BINDIR}"/mtavc + + exeinto "${dir}" + newexe MTAServer${PV} MTAServer + insinto "${GAMES_SYSCONFDIR}"/${PN} + doins ${files} + dodoc README CHANGELOG + for f in ${files} ; do + dosym "${GAMES_SYSCONFDIR}"/${PN}/${f} "${dir}"/${f} + done + + prepgamesdirs +} |