summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2005-06-26 10:46:51 +0000
committerDavid Holm <dholm@gentoo.org>2005-06-26 10:46:51 +0000
commitcb3a6547c67e187fd7dbdd1aae684f7160954cda (patch)
treef7d1daaf7ad6707ca8317ea4561e9734a100cdc6 /dev-lang
parentversion bump (diff)
downloadhistorical-cb3a6547c67e187fd7dbdd1aae684f7160954cda.tar.gz
historical-cb3a6547c67e187fd7dbdd1aae684f7160954cda.tar.bz2
historical-cb3a6547c67e187fd7dbdd1aae684f7160954cda.zip
Added to ~ppc
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/fpc/ChangeLog5
-rw-r--r--dev-lang/fpc/Manifest20
-rw-r--r--dev-lang/fpc/files/digest-fpc-2.0.01
-rw-r--r--dev-lang/fpc/fpc-2.0.0.ebuild55
4 files changed, 54 insertions, 27 deletions
diff --git a/dev-lang/fpc/ChangeLog b/dev-lang/fpc/ChangeLog
index b095e38db1db..a37026884408 100644
--- a/dev-lang/fpc/ChangeLog
+++ b/dev-lang/fpc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/fpc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.18 2005/06/25 22:56:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.19 2005/06/26 10:46:51 dholm Exp $
+
+ 26 Jun 2005; David Holm <dholm@gentoo.org> fpc-2.0.0.ebuild:
+ Added to ~ppc.
25 Jun 2005; Aron Griffis <agriffis@gentoo.org> fpc-2.0.0.ebuild:
Install the man-pages too
diff --git a/dev-lang/fpc/Manifest b/dev-lang/fpc/Manifest
index 9cbb981b9cf0..2274f0ea6628 100644
--- a/dev-lang/fpc/Manifest
+++ b/dev-lang/fpc/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 678a5a6f99766d45ba95a223d7d1e91e ChangeLog 1856
+MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 6d2cdc7bbdf29311703b6e92dff4bcf9 fpc-1.9.5_pre20040820.ebuild 1672
MD5 d8d2847432681c835681bab06c4b9075 fpc-2.0.0_rc2.ebuild 2252
-MD5 ac2bb5748163e301435028555f963226 ChangeLog 1778
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
-MD5 6775ed7fcc6f711f15da61d7b8d78375 fpc-2.0.0.ebuild 2361
-MD5 35b2220a69ffb4f90c2d27e905024582 files/digest-fpc-2.0.0_rc2 126
-MD5 2e4de16cb96f4d081946df091d8a50a1 files/digest-fpc-2.0.0 141
+MD5 e6ed17239963852ee766ce012da77cad fpc-2.0.0.ebuild 2901
MD5 765515c95e92cbeb5061c5eb1978eb68 files/digest-fpc-1.9.5_pre20040820 58
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCveENBXaUFmZvwyMRArUrAJ4yqK62VLUjBm05kFYCCiiv6aADCwCghYzx
-MHHWxVCM0MOZowvxUESqCo8=
-=YPmu
------END PGP SIGNATURE-----
+MD5 35b2220a69ffb4f90c2d27e905024582 files/digest-fpc-2.0.0_rc2 126
+MD5 21228ac75288afaff37b7e0e236ed8bd files/digest-fpc-2.0.0 215
diff --git a/dev-lang/fpc/files/digest-fpc-2.0.0 b/dev-lang/fpc/files/digest-fpc-2.0.0
index 413073422791..93a6707256ae 100644
--- a/dev-lang/fpc/files/digest-fpc-2.0.0
+++ b/dev-lang/fpc/files/digest-fpc-2.0.0
@@ -1,2 +1,3 @@
MD5 3f9c64d0146a3631f6963fd7477776d1 fpc-2.0.0.source.tar.gz 21040763
MD5 5f0a5fba632a811dcfdafe0ff80476a3 fpc-2.0.0.i386-linux.tar 21360640
+MD5 7019384e09411902e530dfe55d4ff145 fpc-2.0.0.powerpc-linux.tar 22231040
diff --git a/dev-lang/fpc/fpc-2.0.0.ebuild b/dev-lang/fpc/fpc-2.0.0.ebuild
index 2e4326a564a6..64d353476fed 100644
--- a/dev-lang/fpc/fpc-2.0.0.ebuild
+++ b/dev-lang/fpc/fpc-2.0.0.ebuild
@@ -1,35 +1,52 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.0.0.ebuild,v 1.2 2005/06/25 22:56:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.0.0.ebuild,v 1.3 2005/06/26 10:46:51 dholm Exp $
inherit eutils
MY_PV="2.0.0"
STABLE="2.0.0"
-ARCH="386"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC"
-KEYWORDS="~x86"
+KEYWORDS="~ppc ~x86"
DESCRIPTION="Free Pascal Compiler"
HOMEPAGE="http://www.freepascal.org/"
IUSE=""
SRC_URI="mirror://sourceforge/freepascal/fpc-${MY_PV}.source.tar.gz
- mirror://sourceforge/freepascal/fpc-${MY_PV}.i386-linux.tar"
+ x86? ( mirror://sourceforge/freepascal/fpc-${MY_PV}.i386-linux.tar )
+ ppc? ( mirror://sourceforge/freepascal/fpc-${MY_PV}.powerpc-linux.tar)"
DEPEND="!dev-lang/fpc-bin"
RDEPEND="!dev-lang/fpc-bin"
S=${WORKDIR}/fpc
src_unpack() {
unpack ${A} || die "Unpacking ${A} failed!"
- tar -xf binary.i386-linux.tar || die "Unpacking binary.i386-linux.tar failed!"
- tar -zxf base.i386-linux.tar.gz || die "Unpacking base.i386-linux.tar.gz failed!"
+ case ${ARCH} in
+ x86)
+ tar -xf binary.i386-linux.tar || die "Unpacking binary.i386-linux.tar failed!"
+ tar -zxf base.i386-linux.tar.gz || die "Unpacking base.i386-linux.tar.gz failed!"
+ ;;
+ ppc)
+ tar -xf binary.powerpc-linux.tar || die "Unpacking binary.powerpc-linux.tar failed!"
+ tar -zxf base.powerpc-linux.tar.gz || die "Unpacking base.powerpc-linux.tar.gz failed!"
+ ;;
+ esac
}
set_pp() {
+ case ${ARCH} in
+ x86)
+ FPCARCH=386
+ ;;
+ ppc)
+ FPCARCH=ppc
+ ;;
+ esac
+
case $1 in
- bootstrap) pp=${WORKDIR}/lib/fpc/${STABLE}/ppc${ARCH} ;;
- new) pp=${S}/compiler/ppc${ARCH} ;;
+ bootstrap) pp=${WORKDIR}/lib/fpc/${STABLE}/ppc${FPCARCH} ;;
+ new) pp=${S}/compiler/ppc${FPCARCH} ;;
*) die "set_pp: unknown argument: $1" ;;
esac
}
@@ -70,7 +87,15 @@ src_install() {
pkg_preinst() {
${IMAGE}/usr/lib/fpc/${MY_PV}/samplecfg /usr/lib/fpc/${MY_PV} ${IMAGE}/etc
- ln -s ../lib/fpc/${MY_PV}/ppc386 ${IMAGE}/usr/bin/
+ case ${ARCH} in
+ x86)
+ FPCARCH=386
+ ;;
+ ppc)
+ FPCARCH=ppc
+ ;;
+ esac
+ ln -s ../lib/fpc/${MY_PV}/ppc${FPCARCH} ${IMAGE}/usr/bin/
}
pkg_postinst() {
@@ -82,6 +107,14 @@ pkg_postinst() {
echo
ebeep
fi
- einfo "/usr/bin/ppc386 now points to the new binary:"
- einfo " /usr/lib/${PN}/${MY_PV}/ppc${ARCH}"
+ case ${ARCH} in
+ x86)
+ FPCARCH=386
+ ;;
+ ppc)
+ FPCARCH=ppc
+ ;;
+ esac
+ einfo "/usr/bin/ppc${FPCARCH} now points to the new binary:"
+ einfo " /usr/lib/${PN}/${MY_PV}/ppc${FPCARCH}"
}