/[gentoo-x86]/games-fps/avp/avp-20070130.ebuild
Gentoo

Contents of /games-fps/avp/avp-20070130.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Mar 5 23:32:50 2007 UTC (13 years, 1 month ago) by nyhm
Branch: MAIN
Changes since 1.1: +2 -2 lines
rm old version
(Portage version: 2.1.2.1)

1 nyhm 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 nyhm 1.2 # $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20070130.ebuild,v 1.1 2007/01/30 22:41:43 nyhm Exp $
4 nyhm 1.1
5     inherit games
6    
7     DESCRIPTION="Linux port of Aliens vs Predator"
8     HOMEPAGE="http://www.icculus.org/avp/"
9     SRC_URI="mirror://gentoo/${P}.tar.bz2"
10    
11     LICENSE="AvP"
12     SLOT="0"
13 nyhm 1.2 KEYWORDS="x86"
14 nyhm 1.1 IUSE=""
15    
16     DEPEND="media-libs/openal
17     media-libs/libsdl"
18    
19     S=${WORKDIR}/${PN}
20    
21     src_unpack() {
22     unpack ${A}
23     cd "${S}"
24     sed -i \
25     -e "/^CFLAGS/s/-g.*/${CFLAGS}/" \
26     -e "/^LDLIBS/s/$/${LDFLAGS}/" \
27     Makefile \
28     || die "sed failed"
29     }
30    
31     src_install() {
32     newgamesbin AvP.bin AvP || die "newgamesbin failed"
33     dodoc README TODO
34     prepgamesdirs
35     }
36    
37     pkg_postinst() {
38     games_pkg_postinst
39     elog "please follow the instructions in"
40     elog "/usr/share/doc/${PF}/README.gz"
41     elog "to install the rest of the game"
42     }

  ViewVC Help
Powered by ViewVC 1.1.20