/[gentoo-x86]/games-util/fteqcc/fteqcc-2501.ebuild
Gentoo

Contents of /games-util/fteqcc/fteqcc-2501.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jan 20 20:09:05 2010 UTC (4 years, 11 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
amd64/x86 stable, bug #299852
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/fteqcc-2501.ebuild,v 1.4 2009/01/29 08:31:07 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils flag-o-matic
7
8 DESCRIPTION="QC compiler"
9 HOMEPAGE="http://fteqw.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/fteqw/qclibsrc${PV}.zip"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16 RESTRICT="test"
17
18 DEPEND="app-arch/unzip"
19 RDEPEND=""
20
21 S=${WORKDIR}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-cleanup-source.patch
25 sed -i \
26 -e '/^CC/d' \
27 -e "s: -O3 : :g" \
28 -e "s: -s : :g" \
29 -e 's/-o fteqcc.bin/$(LDFLAGS) -o fteqcc.bin/' \
30 Makefile || die "sed failed"
31 edos2unix readme.txt
32 append-flags -DQCCONLY
33 }
34
35 src_compile() {
36 emake BASE_CFLAGS="${CFLAGS} -Wall" || die "emake qcc failed"
37 }
38
39 src_install() {
40 newbin fteqcc.bin fteqcc || die "newbin fteqcc.bin failed"
41 dodoc readme.txt
42 }

  ViewVC Help
Powered by ViewVC 1.1.20