You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
845 B

# Copyright 1999-2012 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.2.0.ebuild,v 1.2 2012/07/09 21:33:09 ulm Exp $
S="${WORKDIR}/fpcbuild-${PV}/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-with-linking-exception"
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"
}