diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-07-31 22:51:49 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-07-31 22:51:49 +0000 |
commit | a7476e382b92caa38213c30768e70b391141113e (patch) | |
tree | 07b824849fc88508e99422385e1e5cd9dfdbe9ac /dev-lang/icon | |
parent | fixed deps (diff) | |
download | gentoo-2-a7476e382b92caa38213c30768e70b391141113e.tar.gz gentoo-2-a7476e382b92caa38213c30768e70b391141113e.tar.bz2 gentoo-2-a7476e382b92caa38213c30768e70b391141113e.zip |
icon: a very high level programming language.
Diffstat (limited to 'dev-lang/icon')
-rw-r--r-- | dev-lang/icon/files/digest-icon-9.40 | 1 | ||||
-rw-r--r-- | dev-lang/icon/files/icon-9.40-gentoo.diff | 11 | ||||
-rw-r--r-- | dev-lang/icon/icon-9.40.ebuild | 64 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-lang/icon/files/digest-icon-9.40 b/dev-lang/icon/files/digest-icon-9.40 new file mode 100644 index 000000000000..29ed32f65e09 --- /dev/null +++ b/dev-lang/icon/files/digest-icon-9.40 @@ -0,0 +1 @@ +MD5 1e4b77ad34af335d8eb5b64f16f7853a icon.v940src.tgz diff --git a/dev-lang/icon/files/icon-9.40-gentoo.diff b/dev-lang/icon/files/icon-9.40-gentoo.diff new file mode 100644 index 000000000000..729e050e63d9 --- /dev/null +++ b/dev-lang/icon/files/icon-9.40-gentoo.diff @@ -0,0 +1,11 @@ +--- Makedefs.orig Sat Jun 9 01:59:50 2001 ++++ Makedefs Wed Aug 1 01:13:00 2001 +@@ -9,7 +9,7 @@ + # XPMDEFS definitions for building XPM library + + CC = gcc +-CFLAGS = -O2 ++CFLAGS = ${CXXFLAGS} + CFDYN = -fPIC + RLINK = -Wl,-E + RLIBS = -lm -ldl diff --git a/dev-lang/icon/icon-9.40.ebuild b/dev-lang/icon/icon-9.40.ebuild new file mode 100644 index 000000000000..0145f2f4f51d --- /dev/null +++ b/dev-lang/icon/icon-9.40.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/icon-9.40.ebuild,v 1.1 2001/07/31 22:51:49 danarmak Exp $ + +S=${WORKDIR}/icon.v940src +SRC_URI="http://www.cs.arisona.edu/icon/ftp/packages/unix/icon.v940src.tgz" + +HOMEPAGE="http://www.cs.arisona.edu/icon/" +DESCRIPTION="icon is a v. high level language" + +DEPEND="X? ( virtual/x11 ) + sys-devel/gcc" + +src_unpack() { + + cd ${WORKDIR} + unpack ${A} + cd ${S}/config/unix/intel_linux + patch -p0 <${FILESDIR}/${P}-gentoo.diff + +} + +src_compile() { + + cd ${S} + + if [ "`use X`" ]; then + try make X-Configure name=intel_linux + else + try make Configure name=intel_linux + fi + + try make + + # small builtin test + try make Samples + # large builtin test + try make Test + +} + +src_install () { + + #try make Install dest=${D}/opt/icon + # fhs-problems, manual rectify + + into /usr + + cd ${S}/bin + rm .placeholder libXpm.a rt.h + dobin * + + cd ${S}/lib + rm .placeholder + dolib * + + cd ${S}/man/man1 + doman icont.1 + + cd ${S}/doc + dodoc * ../README + +} |