diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-03-11 22:22:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-03-11 22:22:15 +0000 |
commit | f795f7cbde585365d4822cb9daccc75b49c14dbf (patch) | |
tree | efd099be007a386ecf82cd1cf0b98daa955d680a /games-server | |
parent | old (diff) | |
download | gentoo-2-f795f7cbde585365d4822cb9daccc75b49c14dbf.tar.gz gentoo-2-f795f7cbde585365d4822cb9daccc75b49c14dbf.tar.bz2 gentoo-2-f795f7cbde585365d4822cb9daccc75b49c14dbf.zip |
EAPI=5
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/mtavc/ChangeLog | 8 | ||||
-rw-r--r-- | games-server/mtavc/mtavc-0.5.ebuild | 19 |
2 files changed, 17 insertions, 10 deletions
diff --git a/games-server/mtavc/ChangeLog b/games-server/mtavc/ChangeLog index edf97fd8ef44..08af1fde0584 100644 --- a/games-server/mtavc/ChangeLog +++ b/games-server/mtavc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-server/mtavc -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/ChangeLog,v 1.10 2014/09/07 11:31:57 ulm Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/ChangeLog,v 1.11 2015/03/11 22:22:15 mr_bones_ Exp $ + + 11 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org> mtavc-0.5.ebuild: + EAPI=5 07 Sep 2014; Ulrich Müller <ulm@gentoo.org> mtavc-0.5.ebuild: Update dependency, this links against libstdc++.so.5. @@ -49,4 +52,3 @@ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild, files/mtavc: initial commit (bug 25872) - diff --git a/games-server/mtavc/mtavc-0.5.ebuild b/games-server/mtavc/mtavc-0.5.ebuild index b65ce6e2cc80..a1216f7b4061 100644 --- a/games-server/mtavc/mtavc-0.5.ebuild +++ b/games-server/mtavc/mtavc-0.5.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/mtavc-0.5.ebuild,v 1.4 2014/09/07 11:31:57 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/mtavc-0.5.ebuild,v 1.5 2015/03/11 22:22:15 mr_bones_ Exp $ +EAPI=5 inherit eutils games DESCRIPTION="dedicated server for GTA3 multiplayer" @@ -14,24 +15,28 @@ KEYWORDS="-* ~x86" IUSE="" RDEPEND="virtual/libstdc++" +DEPEND="" S=${WORKDIR} -src_unpack() { - unpack ${A} - sed -i 's:NoName:Gentoo:' mtaserver.conf +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 - dosed "s:GENTOO_DIR:${dir}:" "${GAMES_BINDIR}"/mtavc + sed -i -e "s:GENTOO_DIR:${dir}:" "${D}${GAMES_BINDIR}"/mtavc exeinto "${dir}" newexe MTAServer${PV} MTAServer insinto "${GAMES_SYSCONFDIR}"/${PN} - local files="banned.lst motd.txt mtaserver.conf" doins ${files} dodoc README CHANGELOG for f in ${files} ; do |