summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/dar/dar-2.1.2.ebuild4
-rw-r--r--app-text/djvu/djvu-3.5.12.ebuild13
-rw-r--r--app-text/tetex/files/digest-tetex-2.0.2-r13
-rw-r--r--app-text/tetex/tetex-2.0.2-r1.ebuild178
-rw-r--r--app-text/tetex/tetex-2.0.2-r3.ebuild5
-rw-r--r--dev-db/postgresql/postgresql-7.3.4-r1.ebuild4
-rw-r--r--dev-db/postgresql/postgresql-7.3.5.ebuild4
-rw-r--r--dev-db/postgresql/postgresql-7.3.6.ebuild4
-rw-r--r--dev-db/postgresql/postgresql-7.4.1-r4.ebuild4
-rw-r--r--dev-db/postgresql/postgresql-7.4.2.ebuild5
-rw-r--r--dev-lang/prc-tools/files/digest-prc-tools-2.25
-rw-r--r--dev-lang/prc-tools/prc-tools-2.2.ebuild117
-rw-r--r--dev-lang/prc-tools/prc-tools-2.3.ebuild37
13 files changed, 36 insertions, 347 deletions
diff --git a/app-arch/dar/dar-2.1.2.ebuild b/app-arch/dar/dar-2.1.2.ebuild
index 8dd4ba3b7879..af63a521711c 100644
--- a/app-arch/dar/dar-2.1.2.ebuild
+++ b/app-arch/dar/dar-2.1.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/dar/dar-2.1.2.ebuild,v 1.1 2004/04/01 23:54:44 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/dar/dar-2.1.2.ebuild,v 1.2 2004/04/06 02:57:33 vapier Exp $
+
+inherit flag-o-matic
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
HOMEPAGE="http://dar.linux.free.fr/"
diff --git a/app-text/djvu/djvu-3.5.12.ebuild b/app-text/djvu/djvu-3.5.12.ebuild
index 38b9d485a109..744965905758 100644
--- a/app-text/djvu/djvu-3.5.12.ebuild
+++ b/app-text/djvu/djvu-3.5.12.ebuild
@@ -1,17 +1,16 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.12.ebuild,v 1.5 2004/03/21 15:11:02 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.12.ebuild,v 1.6 2004/04/06 02:58:12 vapier Exp $
-inherit nsplugins
+inherit nsplugins flag-o-matic
MY_P="${PN}libre-${PV}"
DESCRIPTION="A web-centric format and software platform for distributing documents and images."
HOMEPAGE="http://djvu.sourceforge.net"
SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
-RESTRICT="nomirror"
-LICENSE="GPL-2"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc"
IUSE="xml qt"
@@ -22,10 +21,9 @@ DEPEND=">=media-libs/jpeg-6b-r2
S=${WORKDIR}/${MY_P}
src_compile() {
-
# assembler problems and hence non-building with pentium4
# <obz@gentoo.org>
- replace-flags "-march=pentium4" "-march=pentium3"
+ replace-flags -march=pentium4 -march=pentium3
local myconf=""
use xml \
@@ -36,13 +34,10 @@ src_compile() {
econf ${myconf} || die
make depend
emake || die
-
}
src_install() {
-
einstall || die
# plugin installation from eclass
inst_plugin /usr/lib/netscape/plugins/nsdejavu.so
-
}
diff --git a/app-text/tetex/files/digest-tetex-2.0.2-r1 b/app-text/tetex/files/digest-tetex-2.0.2-r1
deleted file mode 100644
index 235f58e8e41f..000000000000
--- a/app-text/tetex/files/digest-tetex-2.0.2-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a16f6bba227d55e79aeee46fbbd82d28 tetex-src-2.0.2.tar.gz 11745933
-MD5 40d4b2c5582eccbee4b6ec692c3cc253 tetex-texmfsrc-2.0.2.tar.gz 22909537
-MD5 d3bdb96f9077e43b2115d3cc471743b3 tetex-texmf-2.0.2.tar.gz 52424280
diff --git a/app-text/tetex/tetex-2.0.2-r1.ebuild b/app-text/tetex/tetex-2.0.2-r1.ebuild
deleted file mode 100644
index ec3cbc2d5437..000000000000
--- a/app-text/tetex/tetex-2.0.2-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r1.ebuild,v 1.11 2004/02/21 12:17:18 usata Exp $
-
-IUSE="X"
-
-S=${WORKDIR}/tetex-src-${PV}
-TETEXSRC="tetex-src-${PV}.tar.gz"
-TEXMFSRC="tetex-texmfsrc-${PV}.tar.gz"
-TEXMF="tetex-texmf-${PV}.tar.gz"
-
-DESCRIPTION="a complete TeX distribution"
-HOMEPAGE="http://tug.org/teTeX/"
-SRC_URI="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TETEXSRC}
- ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMFSRC}
- ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMF}"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc alpha ~hppa amd64 ia64"
-
-DEPEND="!app-text/ptex
- !app-text/cstetex
- sys-apps/ed
- sys-libs/zlib
- >=media-libs/libpng-1.2.1
- sys-libs/ncurses
- >=net-libs/libwww-5.3.2-r1
- X? ( virtual/x11 )"
-
-RDEPEND="${DEPEND}
- >=dev-lang/perl-5.2
- dev-util/dialog"
-
-PROVIDE="virtual/tetex"
-
-src_unpack() {
- unpack ${TETEXSRC}
-
- cd ${WORKDIR}
- mkdir ${S}/texmf
- cd ${S}/texmf
- umask 022
- pwd
- ebegin "Unpacking ${TEXMFSRC}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC}
- eend $?
-
- ebegin "Unpacking ${TEXMF}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMF}
- eend $?
-
- # Do not run config. Also fix local texmf tree.
- cd ${WORKDIR}
- cd ${S}
- epatch ${FILESDIR}/${P}-dont-run-config.diff
- epatch ${FILESDIR}/${P}.diff
-
- # fix up misplaced listings.sty in the 2.0.2 archive.
- # this should be fixed in the next release <obz@gentoo.org>
- mv texmf/source/latex/listings/listings.sty texmf/tex/latex/listings/
-
- epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff
-}
-
-src_compile() {
-
- filter-flags "-fstack-protector"
-
- econf \
- --datadir=${S} \
- --with-system-wwwlib \
- --with-libwww-include=/usr/include/w3c-libwww \
- --with-system-ncurses \
- --with-system-pnglib \
- --without-texinfo \
- --without-dialog \
- --with-system-zlib \
- --disable-multiplatform \
- --with-epsfwin \
- --with-mftalkwin \
- --with-regiswin \
- --with-tektronixwin \
- --with-unitermwin \
- --with-ps=gs \
- --enable-ipc \
- --with-etex \
- `use_with X x` \
- ${myconf} || die
-
- make texmf=/usr/share/texmf || die
-}
-
-src_install() {
-
- dodir /usr/share/
- # Install texmf files
- einfo "Installing texmf..."
- cp -Rv texmf ${D}/usr/share
-
- make prefix=${D}/usr \
- bindir=${D}/usr/bin \
- datadir=${D}/usr/share \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- texmf=${D}/usr/share/texmf \
- install || die
-
- dodoc PROBLEMS README
- docinto texk
- dodoc texk/ChangeLog texk/README
- docinto kpathesa
- cd ${S}/texk/kpathsea
- dodoc README* NEWS PROJECTS HIER
- docinto dviljk
- cd ${S}/texk/dviljk
- dodoc AUTHORS README NEWS
- docinto dvipsk
- cd ${S}/texk/dvipsk
- dodoc AUTHORS ChangeLog INSTALLATION README
- docinto makeindexk
- cd ${S}/texk/makeindexk
- dodoc CONTRIB COPYING NEWS NOTES PORTING README
- docinto ps2pkm
- cd ${S}/texk/ps2pkm
- dodoc ChangeLog CHANGES.type1 INSTALLATION README*
- docinto web2c
- cd ${S}/texk/web2c
- dodoc AUTHORS ChangeLog NEWS PROJECTS README
- docinto xdvik
- cd ${S}/texk/xdvik
- dodoc BUGS FAQ README*
-
- #fix for conflicting readlink binary:
- rm -f ${D}/bin/readlink
- rm -f ${D}/usr/bin/readlink
- #add /var/cache/fonts directory
- dodir /var/cache/fonts
-
- #fix for lousy upstream permisssions on /usr/share/texmf files
- #NOTE: do not use fowners, as its not recursive ...
- einfo "Fixing permissions..."
- chown -R root:root ${D}/usr/share/texmf
- dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"' > ${D}/etc/env.d/98tetex
-}
-
-pkg_preinst() {
- if [ -d "/usr/share/texmf/dvipdfm/config" ]
- then
- ewarn "Removing /usr/share/texmf/dvipdfm/config/"
- rm -rf /usr/share/texmf/dvipdfm/config
- fi
-
- # Let's take care of config protecting.
- einfo "Here I am!"
-}
-
-pkg_postinst() {
-
- if [ $ROOT = "/" ]
- then
- einfo "Configuring teTeX..."
- mktexlsr &>/dev/null
- texlinks &>/dev/null
- texconfig init &>/dev/null
- texconfig confall &>/dev/null
- texconfig font rw &>/dev/null
- texconfig font vardir /var/cache/fonts &>/dev/null
- texconfig font options varfonts &>/dev/null
- einfo "Generating format files..."
- fmtutil --missing &>/dev/null # This should generate all missing fmt files.
- echo
- einfo "Use 'texconfig font ro' to disable font generation for users"
- echo
- fi
-}
-
diff --git a/app-text/tetex/tetex-2.0.2-r3.ebuild b/app-text/tetex/tetex-2.0.2-r3.ebuild
index 7d7f433ce1c6..40c4b2661f94 100644
--- a/app-text/tetex/tetex-2.0.2-r3.ebuild
+++ b/app-text/tetex/tetex-2.0.2-r3.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r3.ebuild,v 1.9 2004/03/25 09:07:53 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r3.ebuild,v 1.10 2004/04/06 02:59:01 vapier Exp $
inherit tetex
DESCRIPTION="a complete TeX distribution"
HOMEPAGE="http://tug.org/teTeX/"
-KEYWORDS="x86 ~ppc sparc alpha hppa ~amd64 ia64 mips"
+
+KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64"
src_unpack() {
tetex_src_unpack
diff --git a/dev-db/postgresql/postgresql-7.3.4-r1.ebuild b/dev-db/postgresql/postgresql-7.3.4-r1.ebuild
index 2a990a96c8de..a3badb91bdcd 100644
--- a/dev-db/postgresql/postgresql-7.3.4-r1.ebuild
+++ b/dev-db/postgresql/postgresql-7.3.4-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.4-r1.ebuild,v 1.7 2004/01/05 10:43:21 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.4-r1.ebuild,v 1.8 2004/04/06 02:59:46 vapier Exp $
+
+inherit flag-o-matic
DESCRIPTION="sophisticated Object-Relational DBMS"
diff --git a/dev-db/postgresql/postgresql-7.3.5.ebuild b/dev-db/postgresql/postgresql-7.3.5.ebuild
index 26df2abce27c..c27c516b72cc 100644
--- a/dev-db/postgresql/postgresql-7.3.5.ebuild
+++ b/dev-db/postgresql/postgresql-7.3.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.5.ebuild,v 1.6 2004/02/23 19:43:06 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.5.ebuild,v 1.7 2004/04/06 02:59:46 vapier Exp $
+
+inherit flag-o-matic
DESCRIPTION="sophisticated Object-Relational DBMS"
diff --git a/dev-db/postgresql/postgresql-7.3.6.ebuild b/dev-db/postgresql/postgresql-7.3.6.ebuild
index b2d9af591a35..1045c40c6485 100644
--- a/dev-db/postgresql/postgresql-7.3.6.ebuild
+++ b/dev-db/postgresql/postgresql-7.3.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.6.ebuild,v 1.3 2004/03/21 22:32:49 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.6.ebuild,v 1.4 2004/04/06 02:59:46 vapier Exp $
+
+inherit flag-o-matic
DESCRIPTION="sophisticated Object-Relational DBMS"
diff --git a/dev-db/postgresql/postgresql-7.4.1-r4.ebuild b/dev-db/postgresql/postgresql-7.4.1-r4.ebuild
index 8bafbcb360a6..a60e5bb9252f 100644
--- a/dev-db/postgresql/postgresql-7.4.1-r4.ebuild
+++ b/dev-db/postgresql/postgresql-7.4.1-r4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.1-r4.ebuild,v 1.5 2004/03/21 01:57:24 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.1-r4.ebuild,v 1.6 2004/04/06 02:59:46 vapier Exp $
-inherit eutils gnuconfig
+inherit eutils gnuconfig flag-o-matic
DESCRIPTION="sophisticated Object-Relational DBMS."
diff --git a/dev-db/postgresql/postgresql-7.4.2.ebuild b/dev-db/postgresql/postgresql-7.4.2.ebuild
index 0e598d8267ad..d761dfd25a0f 100644
--- a/dev-db/postgresql/postgresql-7.4.2.ebuild
+++ b/dev-db/postgresql/postgresql-7.4.2.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.2.ebuild,v 1.2 2004/03/21 01:57:24 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.2.ebuild,v 1.3 2004/04/06 02:59:46 vapier Exp $
+
+inherit eutils gnuconfig flag-o-matic
-inherit eutils gnuconfig
DESCRIPTION="sophisticated Object-Relational DBMS."
RESTRICT="nomirror"
diff --git a/dev-lang/prc-tools/files/digest-prc-tools-2.2 b/dev-lang/prc-tools/files/digest-prc-tools-2.2
deleted file mode 100644
index 97bd4bfba923..000000000000
--- a/dev-lang/prc-tools/files/digest-prc-tools-2.2
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 91a9a04d2042fcf673ff212a3ffd7ab9 prc-tools-2.2.tar.gz 319626
-MD5 eeef1c5c1e19de859783aaadbb57a75f prc-tools-20030213.tar.gz 314451
-MD5 f67fe2e8065c5683bc34782de131f5d3 binutils-2.12.1.tar.bz2 9543675
-MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
-MD5 87ee083a830683e2aaa57463940a0c3c gcc-2.95.3.tar.bz2 9848842
diff --git a/dev-lang/prc-tools/prc-tools-2.2.ebuild b/dev-lang/prc-tools/prc-tools-2.2.ebuild
deleted file mode 100644
index 9aea6190c833..000000000000
--- a/dev-lang/prc-tools/prc-tools-2.2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/prc-tools/prc-tools-2.2.ebuild,v 1.4 2004/03/11 16:58:44 plasmaroo 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"
-RDEPEND=""
-
-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
-
-}
diff --git a/dev-lang/prc-tools/prc-tools-2.3.ebuild b/dev-lang/prc-tools/prc-tools-2.3.ebuild
index 314194041f8b..9a0950d0f6a8 100644
--- a/dev-lang/prc-tools/prc-tools-2.3.ebuild
+++ b/dev-lang/prc-tools/prc-tools-2.3.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/prc-tools/prc-tools-2.3.ebuild,v 1.4 2004/03/11 16:58:44 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/prc-tools/prc-tools-2.3.ebuild,v 1.5 2004/04/06 03:01:20 vapier Exp $
-DESCRIPTION="GNU-Based Palm C++ Development Suite"
+inherit flag-o-matic
BIN_V="binutils-2.14"
GDB_V="gdb-5.3"
GCC_V_ARM="gcc-3.3.1"
GCC_V_M68K="gcc-2.95.3"
+DESCRIPTION="GNU-Based Palm C++ Development Suite"
+HOMEPAGE="http://prc-tools.sourceforge.net"
SRC_URI="mirror://sourceforge/prc-tools/${P}.tar.gz
ftp://sources.redhat.com/pub/binutils/releases/${BIN_V}.tar.bz2
ftp://sources.redhat.com/pub/gdb/releases/${GDB_V}.tar.bz2
@@ -16,19 +18,14 @@ SRC_URI="mirror://sourceforge/prc-tools/${P}.tar.gz
ftp://gcc.gnu.org/pub/gcc/releases/${GCC_V_M68K}/${GCC_V_M68K}.tar.bz2"
LICENSE="GPL-2"
-KEYWORDS="x86"
SLOT="0"
+KEYWORDS="x86"
-HOMEPAGE="http://prc-tools.sourceforge.net"
DEPEND=">=app-text/texi2html-1.64"
RDEPEND=""
-S=${WORKDIR}/${P}
-
-src_unpack () {
-
- cd ${WORKDIR}
- unpack ${A} || die
+src_unpack() {
+ unpack ${A}
cd ${P}
ln -s ../${BIN_V} binutils
@@ -54,11 +51,9 @@ src_unpack () {
# Fix ${GCC_V_ARM} include problem
cp ${GCC_V_ARM}/gcc/fixinc/tests/base/unistd.h ${GCC_V_ARM}/gcc
sed -i -e 's:#include <stdio.h>::' -e 's:#include <sys/types.h>::' -e 's:#include <errno.h>::' -e 's:#include <stdlib.h>::' ${GCC_V_ARM}/gcc/tsystem.h || die
-
}
-src_config () {
-
+src_config() {
echo ">>> Rebuilding configuration scripts"
cd binutils; WANT_AUTOCONF=2.1 autoconf || die "Failed to reconfigure binutils"; cd ..
@@ -86,26 +81,19 @@ src_config () {
# palmdev-prefix also has to be real; otherwise 'palmdev-prep'
# defaults to virtual ${D}/..
-
}
-src_compile () {
-
+src_compile() {
src_config
make || die
-
}
-src_install () {
-
- cd ..
- cd build
+src_install() {
+ cd ../build
einstall || die
-
}
-pkg_postinst () {
-
+pkg_postinst() {
echo
einfo "PRC-Tools is now compiled and installed!"
einfo "<HTML docs are installed in /opt/palmdev>"
@@ -119,5 +107,4 @@ pkg_postinst () {
echo " ->> Decompress this to /opt/palmdev and then run"
echo " 'palmdev-prep /opt/palmdev'"
echo
-
}