diff options
Diffstat (limited to 'dev-lang/clean/clean-2.0.1.ebuild')
-rw-r--r-- | dev-lang/clean/clean-2.0.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-lang/clean/clean-2.0.1.ebuild b/dev-lang/clean/clean-2.0.1.ebuild new file mode 100644 index 000000000000..1bdaa956e766 --- /dev/null +++ b/dev-lang/clean/clean-2.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/clean/clean-2.0.1.ebuild,v 1.1 2002/07/18 22:05:59 karltk Exp $ + +DESCRIPTION="Clean" +HOMEPAGE="http://foo.bar.com" +SRC_URI="http://www.cs.kun.nl/~clean/download/Clean20/linux/Clean2.0.1.tar.gz http://www.cs.kun.nl/~clean/download/Clean20/source/Clean${PV}Sources.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 -ppc -sparc -sparc64" +DEPEND="virtual/glibc" +RDEPEND="${DEPEND}" +S="${WORKDIR}/Clean 2.0.1 Sources" + +src_unpack() { + unpack Clean2.0.1.tar.gz + unpack Clean${PV}Sources.tar.gz + + cd clean ; make +} + +src_compile() { + cd "${S}" + export PATH=$PATH:${WORKDIR}/clean/bin + cd CleanTools/clm ; make -f Makefile.linux || die ; cd - + cd CodeGenerator ; make -f Makefile.linux || die ; cd - + cd Compiler ; sh make.linux.sh || die ; cd - +} + +src_install () { + cd "${S}" + + dodir /usr/share/clean/exe + exeinto /usr/share/clean/exe + doexe Compiler/cocl + doexe CodeGenerator/cg + + dodir /usr/bin + dobin CleanTools/clm/clm + + dodir /usr/share/clean/iolib + insinto /usr/share/clean/iolib + + dodoc "Clean2.0.1LicenseConditions.txt" +} |