summaryrefslogtreecommitdiff
blob: 6d6f0a682f87189fbdb9ba9a0b556f6a63fba5ec (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
32
33
34
35
36
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-bin/fpc-bin-1.9.4.ebuild,v 1.1 2005/01/20 22:18:04 chriswhite Exp $

MY_P="${P/-bin/}"

DESCRIPTION="The Free Pascal compiler"
HOMEPAGE="http://www.freepascal.org/"
SRC_URI="mirror://gentoo/${MY_P}.tbz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -*"
IUSE=""
DEPEND="virtual/libc
	!dev-lang/fpc"
RDEPEND="virtual/libc"
S=${WORKDIR}

src_unpack() {
	einfo unpacking done in install phase
}

src_compile() {
	einfo Nothing to compile
}

src_install() {
	einfo Unpacking to image directory
	einfo This may take some time depending on your system
	tar -xjf ${DISTDIR}/${MY_P}.tbz2 -C ${D}
}

pkg_postinst() {
	einfo Setting up configuration
	${ROOT}/opt/fpc/lib/fpc/${PV}/samplecfg ${ROOT}/opt/fpc/lib/fpc/${PV} /etc
}