blob: e04a0dd69c693f01c3a1060035ab41d4ededce09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.0.4.ebuild,v 1.2 2006/09/22 08:26:20 truedfx Exp $
PV_BIN="2.0.4"
S="${WORKDIR}/fpcbuild_${PV}_exp/fpcsrc/ide"
HOMEPAGE="http://www.freepascal.org/"
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="~dev-lang/fpc-${PV}"
src_unpack() {
unpack ${A} || die "Unpacking ${A} failed!"
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
}
src_compile() {
emake -j1 || die "make failed"
}
src_install() {
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
}
|