summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-06-22 00:32:08 +0000
committerMark Guertin <gerk@gentoo.org>2002-06-22 00:32:08 +0000
commit492f91394306f4244af65ce925206b667ca87d39 (patch)
tree1aa7f31d642a1f1f6b577162b19223c6c64be732 /sys-apps/pbbuttonsd
parentARCH check update and added missing env vars (diff)
downloadgentoo-2-492f91394306f4244af65ce925206b667ca87d39.tar.gz
gentoo-2-492f91394306f4244af65ce925206b667ca87d39.tar.bz2
gentoo-2-492f91394306f4244af65ce925206b667ca87d39.zip
ARCH check update
Diffstat (limited to 'sys-apps/pbbuttonsd')
-rw-r--r--sys-apps/pbbuttonsd/Changelog6
-rw-r--r--sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild14
2 files changed, 13 insertions, 7 deletions
diff --git a/sys-apps/pbbuttonsd/Changelog b/sys-apps/pbbuttonsd/Changelog
index a861009d20f7..63218601bb77 100644
--- a/sys-apps/pbbuttonsd/Changelog
+++ b/sys-apps/pbbuttonsd/Changelog
@@ -1,9 +1,13 @@
# ChangeLog for sys-apps/pbbuttonsd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/Changelog,v 1.5 2002/06/08 17:16:29 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/Changelog,v 1.6 2002/06/22 00:30:02 gerk Exp $
*pbbuttons-0.4.10 (Sat Jun 8 11:38:34 EST 2002); gerk <gerk@gentoo.org>:
+June 21 2002 Gerk (gerk@gentoo.org):
+
+ added ARCH checks, no revision bump
+
Sat Jun 8 11:38:34 EST 2002; gerk <gerk@gentoo.org>:
Upated for new release
diff --git a/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild b/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild
index 4f45b4aba746..2eef7f4f4a60 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.2 2002/06/21 20:39:48 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild,v 1.3 2002/06/22 00:30:02 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PBButtons is a PPC-only program to map special Powerbook/iBook keys in Linux"
@@ -11,12 +11,14 @@ RDEPEND=""
SLOT=0
LICENSE=GPL
-src_compile() {
- if [ ${ARCH} = "x86" ] ; then
- einfo "PPC Only build, sorry"
- exit 1
+pkg_setup() {
+ if [ ${ARCH} != "ppc" ] ; then
+ eerror "Sorry, this is a PPC only package."
+ die "Sorry, this as a PPC only pacakge."
fi
-
+}
+
+src_compile() {
./configure \
--prefix=/usr \
--sysconfdir=/etc || die "sorry, ppc-only package"