summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-06-08 02:21:53 +0000
committerMark Guertin <gerk@gentoo.org>2002-06-08 02:21:53 +0000
commit9aa89f4d245c18687f8463a689b98db5b5530393 (patch)
tree5a8c8c514fcbc90dc36bbf9e9a562f2282fd1f83 /x11-libs
parentmasked xforms-089-r1 (ppc update) for testing (diff)
downloadgentoo-2-9aa89f4d245c18687f8463a689b98db5b5530393.tar.gz
gentoo-2-9aa89f4d245c18687f8463a689b98db5b5530393.tar.bz2
gentoo-2-9aa89f4d245c18687f8463a689b98db5b5530393.zip
added build for ppc compatability
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/xforms/ChangeLog9
-rw-r--r--x11-libs/xforms/files/digest-xforms-089-r11
-rw-r--r--x11-libs/xforms/xforms-089-r1.ebuild37
-rw-r--r--x11-libs/xforms/xforms-089.ebuild12
4 files changed, 56 insertions, 3 deletions
diff --git a/x11-libs/xforms/ChangeLog b/x11-libs/xforms/ChangeLog
index 537e0bbf9102..e60aa1c2f5b5 100644
--- a/x11-libs/xforms/ChangeLog
+++ b/x11-libs/xforms/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/xforms
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/ChangeLog,v 1.1 2002/02/01 21:53:38 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/ChangeLog,v 1.2 2002/06/08 02:21:53 gerk Exp $
+
+*xforms-089-r1 (7 June 2002)
+
+ 7 June 2002; Mark Guertin <gerk@gentoo.org>
+
+ Updated to -r1 for ppc compatability. Vendor supplies speperate ppc sources
+ with the exact same filename as x86 sources. Strange workarounds needed.
*xforms-089 (1 Feb 2002)
diff --git a/x11-libs/xforms/files/digest-xforms-089-r1 b/x11-libs/xforms/files/digest-xforms-089-r1
new file mode 100644
index 000000000000..e212c818466e
--- /dev/null
+++ b/x11-libs/xforms/files/digest-xforms-089-r1
@@ -0,0 +1 @@
+MD5 a64e3c487c7c417f1d925edd52c51afe bxform-089-glibc2.1.tgz 1211309
diff --git a/x11-libs/xforms/xforms-089-r1.ebuild b/x11-libs/xforms/xforms-089-r1.ebuild
new file mode 100644
index 000000000000..73488e297833
--- /dev/null
+++ b/x11-libs/xforms/xforms-089-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089-r1.ebuild,v 1.1 2002/06/08 02:21:53 gerk Exp $
+
+if [ ${ARCH} = "x86" ] ; then
+ MY_P="bxform-${PV}-glibc2.1"
+ MY_D="linux-i386/elf"
+ MY_F=${MY_P}
+else
+ MY_P="bxform-${PV}-glibc2.1-ppc"
+ MY_D="linuxppc"
+ MY_F="bxform-${PV}-glibc2.1"
+fi
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="A GUI Toolkit based on Xlib"
+SRC_URI="ftp://ncmir.ucsd.edu/pub/xforms/${MY_D}/${MY_F}.tgz"
+HOMEPAGE="http://world.std.com/~xforms/"
+SLOT="0"
+DEPEND="virtual/x11"
+RDEPEND=""
+LICENSE=GPL
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+
+ into /usr/X11R6
+ dolib FORMS/libforms.{a,so.*}
+ dosym /usr/X11R6/lib/libforms.so.0.89 /usr/X11R6/lib/libforms.so
+ insinto /usr/X11R6/include
+ doins FORMS/forms.h
+ doman FORMS/xforms.5
+}
+
diff --git a/x11-libs/xforms/xforms-089.ebuild b/x11-libs/xforms/xforms-089.ebuild
index 11b0f9e5fb8f..64e6f98af24f 100644
--- a/x11-libs/xforms/xforms-089.ebuild
+++ b/x11-libs/xforms/xforms-089.ebuild
@@ -1,14 +1,22 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089.ebuild,v 1.3 2002/04/27 21:43:48 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-089.ebuild,v 1.4 2002/06/08 02:21:53 gerk Exp $
MY_P=bxform-${PV}-glibc2.1
+
+if [ ${ARCH] = "x86" ] ; then
+ MY_D = "linux-i386/elf"
+else
+ MY_D = "linux-ppc"
+fi
+
S=${WORKDIR}/${PN}
DESCRIPTION="A GUI Toolkit based on Xlib"
-SRC_URI="ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/${MY_P}.tgz"
+SRC_URI="ftp://ncmir.ucsd.edu/pub/xforms/${MY_D}/${MY_P}.tgz"
HOMEPAGE="http://world.std.com/~xforms/"
+
DEPEND="virtual/x11"
src_compile() {