summaryrefslogtreecommitdiff
blob: 36f70a22eb2cf99a4705077b51a726a5cdfcf4a1 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-1.0.10.ebuild,v 1.7 2004/07/02 04:25:51 eradicator Exp $

DESCRIPTION="The Free Pascal compiler"
HOMEPAGE="http://www.freepascal.org/"
SRC_URI="ftp://ftp.freepascal.org/pub/fpc/dist/Linux/rpm/${P}-0.i386.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 -*"
IUSE=""
DEPEND="virtual/libc
	app-arch/rpm2targz"
RDEPEND="virtual/libc"
S=${WORKDIR}

src_unpack() {
	rpm2targz ${DISTDIR}/${P}-0.i386.rpm
}

src_compile() {
	einfo Nothing to compile
}

src_install() {
	cd ${D}
	tar -xzf ${WORKDIR}/${P}-0.i386.tar.gz
	# correct paths where mans go
	mv usr/share/man/man/* usr/share/man/
	rmdir usr/share/man/man
	mv usr/share/doc/packages/${P} usr/share/doc/${P}
	rmdir usr/share/doc/packages
	chmod -R 755 usr/lib/* usr/share/*
}