/[gentoo-x86]/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild
Gentoo

Contents of /dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 16 10:43:30 2010 UTC (4 years, 11 months ago) by truedfx
Branch: MAIN
Changes since 1.3: +1 -2 lines
revert accidental commit

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild,v 1.2 2009/12/23 19:53:47 truedfx Exp $
4
5 inherit bsdmk eutils flag-o-matic multilib
6
7 REV=1073
8 PATCHVER=1.6
9
10 DESCRIPTION="A C/C++ compiler initially developed by DERA"
11 HOMEPAGE="http://www.tendra.org/"
12 SRC_URI="mirror://gentoo/${PN}-${REV}.tbz2
13 mirror://gentoo/${PN}-patches-${PATCHVER}.tbz2
14 http://dev.gentoo.org/~truedfx/${PN}-${REV}.tbz2
15 http://dev.gentoo.org/~truedfx/${PN}-patches-${PATCHVER}.tbz2"
16
17 LICENSE="as-is"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE=""
21
22 DEPEND=""
23 # Both tendra and tinycc install /usr/bin/tcc
24 RDEPEND="!dev-lang/tcc"
25
26 S=${WORKDIR}/trunk
27
28 pkg_setup() {
29 export BMAKE="$(get_bmake) ${MAKEOPTS}"
30
31 use amd64 && multilib_toolchain_setup x86
32 }
33
34 src_unpack() {
35 unpack ${A}
36 cd "${S}"
37 epatch "${WORKDIR}"/tendra-patches/*.patch
38 }
39
40 src_compile() {
41 replace-flags '-O*' '-O'
42
43 HOSTARCH=i386 PREFIX=/usr sh makedefs || die "makedefs failed"
44 ${BMAKE} -DBOOTSTRAP || die "bootstrap failed"
45 ${BMAKE} || die "build failed"
46 }
47
48 src_install() {
49 ${BMAKE} PREFIX="${D}usr" \
50 MAN_DIR='${PREFIX}/share/man' install || die "install failed"
51 }

  ViewVC Help
Powered by ViewVC 1.1.20