blob: be8ef10e09eb40a6c3878a4b7def8d8d6ded9c20 (
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
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-source/fpc-source-2.0.0.ebuild,v 1.2 2005/06/26 00:20:25 swegener Exp $
# Needed to release candidates etc.
MY_PV="2.0.0"
SLOT="0" # Read src_install notes!
LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC"
KEYWORDS="~x86"
DESCRIPTION="Free Pascal Compiler Sources"
HOMEPAGE="http://www.freepascal.org/"
IUSE=""
SRC_URI="mirror://sourceforge/freepascal/fpc-${MY_PV}.source.tar.gz"
DEPEND="net-misc/rsync"
RDEPEND=""
src_install () {
# Do not slot this, do not use version strings in path, unless you symlink
# to a directory Lazarus searches in. See top of
# include/unix/lazbaseconf.inc in Lazarus source.
# Like "make sourceinstall" but path works with Lazarus, no "make distclean"
# (unneeded)
diropts -m0755
dodir /usr/lib/fpc || die
ebegin "Copying files"
# Use rsync since cp doesn't support exclusions
rsync -a \
--exclude="*.#*" \
--exclude="*.bak" \
--exclude="*.cvsignore" \
--exclude="*.o" \
--exclude="*.orig" \
--exclude="*.ow" \
--exclude="*.ppl" \
--exclude="*.ppu" \
--exclude="*.ppw" \
--exclude="*.rej" \
--exclude="*.rst" \
--exclude="*.xvpics" \
--exclude="*.~*" \
--exclude="CVS" \
${WORKDIR}/fpc ${D}usr/lib/fpc/src
eend $? || die
}
|