summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2003-09-12 22:33:56 +0000
committerTim Yamin <plasmaroo@gentoo.org>2003-09-12 22:33:56 +0000
commita405cc967b74e9fb81a5a572aa2851f1ba0fd3a4 (patch)
treef6b56b20b19d317373b5a44500a1e0794334ba9a /dev-cpp
parentMoved prc-tools to dev-lang (diff)
downloadgentoo-2-a405cc967b74e9fb81a5a572aa2851f1ba0fd3a4.tar.gz
gentoo-2-a405cc967b74e9fb81a5a572aa2851f1ba0fd3a4.tar.bz2
gentoo-2-a405cc967b74e9fb81a5a572aa2851f1ba0fd3a4.zip
Moved prc-tools to dev-lang
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/prc-tools/ChangeLog10
-rw-r--r--dev-cpp/prc-tools/Manifest0
-rw-r--r--dev-cpp/prc-tools/prc-tools-2.2.ebuild116
3 files changed, 0 insertions, 126 deletions
diff --git a/dev-cpp/prc-tools/ChangeLog b/dev-cpp/prc-tools/ChangeLog
deleted file mode 100644
index f58dde3d885e..000000000000
--- a/dev-cpp/prc-tools/ChangeLog
+++ /dev/null
@@ -1,10 +0,0 @@
-# ChangeLog for dev-cpp/prc-tools
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/prc-tools/ChangeLog,v 1.1 2003/08/31 07:32:50 plasmaroo Exp $
-
-*prc-tools-2.2 (31 Aug 2003)
-
- 31 Aug 2003; <plasmaroo@gentoo.org> prc-tools-2.2.ebuild,
- files/prc-tools-2.2-compilefix.patch:
- Initial Import
-
diff --git a/dev-cpp/prc-tools/Manifest b/dev-cpp/prc-tools/Manifest
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/dev-cpp/prc-tools/Manifest
+++ /dev/null
diff --git a/dev-cpp/prc-tools/prc-tools-2.2.ebuild b/dev-cpp/prc-tools/prc-tools-2.2.ebuild
deleted file mode 100644
index 019b1806b27b..000000000000
--- a/dev-cpp/prc-tools/prc-tools-2.2.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc. and Tim Yamin [plasmaroo@gentoo.org]
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/prc-tools/prc-tools-2.2.ebuild,v 1.2 2003/09/11 01:47:58 msterret Exp $
-
-DESCRIPTION="GNU-Based Palm C++ Development Suite"
-
-BIN_V="binutils-2.12.1"
-GDB_V="gdb-5.3"
-GCC_V="gcc-2.95.3"
-PRC_X="prc-tools-20030213"
-
- # A working patch from a non-working CVS snapshot is needed
- # to get GDB to compile under Gentoo 1.2.x. See #23652...
-
-SRC_URI="http://dl.sourceforge.net/sourceforge/prc-tools/${P}.tar.gz
- http://prc-tools.sourceforge.net/misc/${PRC_X}.tar.gz
- ftp://sources.redhat.com/pub/binutils/releases/${BIN_V}.tar.bz2
- ftp://sources.redhat.com/pub/gdb/old-releases/${GDB_V}.tar.bz2
- ftp://gcc.gnu.org/pub/gcc/releases/${GCC_V}/${GCC_V}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="x86"
-SLOT=0
-
-HOMEPAGE="http://prc-tools.sourceforge.net"
-DEPEND=">=app-text/texi2html-1.64"
-
-S=${WORKDIR}/${P}
-
-src_unpack () {
- cd ${WORKDIR}
- unpack ${A} || die
-
- cd ${P}
- ln -s ../${BIN_V} binutils
- ln -s ../${GDB_V} gdb
- ln -s ../${GCC_V} gcc
- cd ..
-
- echo ">>> Patching sources..."
- echo -n " "; epatch ${P}/${BIN_V}.palmos.diff || die
- echo -n " "; epatch ${PRC_X}/${GDB_V}.palmos.diff || die
- echo -n " "; epatch ${P}/${GCC_V}.palmos.diff || die
- echo -n " "; epatch ${FILESDIR}/prc-tools-2.2-compilefix.patch || die
-
- # This last patch disables dummy headers being copied.
- # a) They're not needed
- # b) This causes a sandboxing error
- # +) Keeps 'palmdev-prep' pointed at the
- # right place while making the docs install
- # script from not install them to real root /
-
-}
-
-src_config () {
-
- cd ..
- mkdir build
- cd build
- # mkdir empty
-
- echo ">>> Configuring..."
- echo
-
- # Remove any flags; because the cross-compiler (2.9.x GCC)
- # will not understand any of these optimizations {and will
- # fail} once the cross-compiler compiles the m68k/arm GCC suite
-
- export ALLOWED_FLAGS="-pipe -0 -01 -02"
- strip-flags
-
- ../${P}/configure --enable-targets=m68k-palmos,arm-palmos \
- --enable-languages=c,c++ \
- --with-headers=${WORKDIR}/build/empty --enable-html-docs \
- --with-palmdev-prefix=/opt/palmdev --prefix=/usr || die
-
- # These have to be real; otherwise the compiler is hard-coded
- # and tries to find libraries in ${D}/....
-
- # palmdev-prefix also has to be real; otherwise 'palmdev-prep'
- # defaults to virtual ${D}/..
-
-}
-
-src_compile () {
-
- src_config
- make || die
-
-}
-
-src_install () {
-
- cd ..
- cd build
- einstall || die
-
-}
-
-pkg_postinst () {
-
- echo
- einfo "PRC-Tools is now compiled and installed!"
- einfo "<HTML docs are installed in /opt/palmdev>"
- echo
- einfo "For a complete Palm Development Environment you will also need..."
- echo
- einfo "[ ] PilRC; the Palm resource compiler; emerge pilrc"
- einfo "[ ] POSE; The Palm OS Emulator; emerge pose"
- echo " ->> A ROM for POSE; available from Palm"
- einfo "[ ] An SDK; available from the Palm Website"
- echo " ->> Decompress this to /opt/palmdev and then run"
- echo " 'palmdev-prep /opt/palmdev'"
- echo
-
-}