summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-06-21 20:47:50 +0000
committerMark Guertin <gerk@gentoo.org>2002-06-21 20:47:50 +0000
commit5c5a5fb79746a1e190179cff8c40afc6de04e0b9 (patch)
treeea92ecd6f6e1550989f71ca808177296ad74c615
parentunmask new ethereal, works here, haven't heard any issues (diff)
downloadhistorical-5c5a5fb79746a1e190179cff8c40afc6de04e0b9.tar.gz
historical-5c5a5fb79746a1e190179cff8c40afc6de04e0b9.tar.bz2
historical-5c5a5fb79746a1e190179cff8c40afc6de04e0b9.zip
updated arch detect setup
-rw-r--r--sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild7
-rw-r--r--sys-apps/hfsutils/hfsutils-3.2.6.ebuild35
-rw-r--r--sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild8
-rw-r--r--sys-apps/powerprefs/powerprefs-0.2.1.ebuild7
-rw-r--r--sys-apps/yaboot/yaboot-1.3.6-r1.ebuild8
5 files changed, 35 insertions, 30 deletions
diff --git a/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild b/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild
index 295e55a1a537..cdc88e5e84fb 100644
--- a/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild
+++ b/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author David Chamberlain <daybird@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild,v 1.2 2002/05/09 15:36:34 daybird Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild,v 1.3 2002/06/21 20:42:58 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="gtkpbbuttons is a PPC-only program to monitor special Powerbook/iBook keys in Linux"
@@ -12,6 +12,11 @@ DEPEND="x11-libs/gtk+ media-libs/audiofile sys-apps/pbbuttonsd"
src_compile() {
+ if [ ${ARCH} = "x86" ] ; then
+ einfo "PPC Only build, sorry"
+ exit 1
+ fi
+
./configure --prefix=/usr || die "sorry, ppc-only package"
make || die "sorry, gtkpbbuttons compile failed"
}
diff --git a/sys-apps/hfsutils/hfsutils-3.2.6.ebuild b/sys-apps/hfsutils/hfsutils-3.2.6.ebuild
index b626795229ac..4934a341d79f 100644
--- a/sys-apps/hfsutils/hfsutils-3.2.6.ebuild
+++ b/sys-apps/hfsutils/hfsutils-3.2.6.ebuild
@@ -1,38 +1,25 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Maintainer: Kain X <kain@kain.org>
-# $Id: hfsutils-3.2.6.ebuild,v 1.1 2002/04/27 10:28:33 pvdabeel Exp $
+# $ Header: $
-# Source directory; the dir where the sources can be found
-# (automatically unpacked) inside ${WORKDIR}. Usually you can just
-# leave this as-is.
S=${WORKDIR}/${P}
-
-# Short one-line description of this package.
DESCRIPTION="HFS FS Access utils"
-
-# Point to any required sources; these will be automatically
-# downloaded by Portage.
SRC_URI="ftp://ftp.mars.org/pub/hfs/${P}.tar.gz"
-
-# Homepage, not used by Portage directly but handy for developer reference
HOMEPAGE="http://www.mars.org/home/rob/proj/hfs/"
-
-# Build-time dependencies, such as
-# ssl? ( >=openssl-0.9.6b )
-# >=perl-5.6.1-r1
-# It is advisable to use the >= syntax show above, to reflect what you
-# had installed on your system when you tested the package. Then
-# other users hopefully won't be caught without the right version of
-# a dependency.
-DEPEND=""
-
-# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
-#RDEPEND=""
+DEPEND="virtual/glibc"
+RDEPEND=""
+SLOT="0"
+LICENSE="0"
MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
src_compile() {
+
+ if [ ${ARCH} = "x86" ] ; then
+ einfo "PPC Only build, sorry"
+ exit 1
+ fi
+
./configure \
--host=${CHOST} \
--prefix=/usr \
diff --git a/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild b/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild
index 7894a3c6b49d..4f45b4aba746 100644
--- a/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild
+++ b/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild,v 1.1 2002/06/08 16:56:46 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild,v 1.2 2002/06/21 20:39:48 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PBButtons is a PPC-only program to map special Powerbook/iBook keys in Linux"
@@ -12,7 +12,11 @@ SLOT=0
LICENSE=GPL
src_compile() {
-
+ if [ ${ARCH} = "x86" ] ; then
+ einfo "PPC Only build, sorry"
+ exit 1
+ fi
+
./configure \
--prefix=/usr \
--sysconfdir=/etc || die "sorry, ppc-only package"
diff --git a/sys-apps/powerprefs/powerprefs-0.2.1.ebuild b/sys-apps/powerprefs/powerprefs-0.2.1.ebuild
index dd89044efb3f..358997f61578 100644
--- a/sys-apps/powerprefs/powerprefs-0.2.1.ebuild
+++ b/sys-apps/powerprefs/powerprefs-0.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/powerprefs/powerprefs-0.2.1.ebuild,v 1.1 2002/06/08 17:09:30 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powerprefs/powerprefs-0.2.1.ebuild,v 1.2 2002/06/21 20:43:27 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="powerprefs is a PPC-only program to interface with special Powerbook/iBook keys in Linux"
@@ -13,6 +13,11 @@ RDEPEND="sys-apps/pbbuttonsd"
src_compile() {
+ if [ ${ARCH} = "x86" ] ; then
+ einfo "PPC Only build, sorry"
+ exit 1
+ fi
+
./configure --prefix=/usr || die "sorry, ppc-only package"
make || die "sorry, powerprefs compile failed"
}
diff --git a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
index 8a853d82cf0d..a35bc01bfb0d 100644
--- a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
+++ b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
@@ -1,7 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Maintainer: Kain X <kain@kain.org>
-# $Id: yaboot-1.3.6-r1.ebuild,v 1.1 2002/04/27 10:41:10 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild,v 1.2 2002/06/21 20:44:48 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PPC Bootloader"
@@ -12,6 +11,11 @@ DEPEND="sys-apps/powerpc-utils sys-apps/hfsutils"
MAKEOPTS='PREFIX=/usr MANDIR=share/man'
src_compile() {
+ if [ ${ARCH} = "x86" ] ; then
+ einfo "PPC Only build, sorry"
+ exit 1
+ fi
+
export -n CFLAGS
export -n CXXFLAGS
emake ${MAKEOPTS} || die