summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-01-08 05:21:01 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-01-08 05:21:01 +0000
commite09f6ebb9b77cf0b374110400dddba50e9c60fdc (patch)
treec732ea222dac2cde5ffbde27ba11676c660fe0f1 /dev-lang/erlang
parentadded IUSE, unmasked on x86 (diff)
downloadgentoo-2-e09f6ebb9b77cf0b374110400dddba50e9c60fdc.tar.gz
gentoo-2-e09f6ebb9b77cf0b374110400dddba50e9c60fdc.tar.bz2
gentoo-2-e09f6ebb9b77cf0b374110400dddba50e9c60fdc.zip
new version + cosmetic clean-up of old version
Diffstat (limited to 'dev-lang/erlang')
-rw-r--r--dev-lang/erlang/ChangeLog8
-rw-r--r--dev-lang/erlang/erlang-8b.ebuild26
-rw-r--r--dev-lang/erlang/erlang-9b.ebuild65
-rw-r--r--dev-lang/erlang/files/digest-erlang-9b1
4 files changed, 85 insertions, 15 deletions
diff --git a/dev-lang/erlang/ChangeLog b/dev-lang/erlang/ChangeLog
index 851173696992..3aaff3a52045 100644
--- a/dev-lang/erlang/ChangeLog
+++ b/dev-lang/erlang/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/erlang
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.3 2002/12/13 10:56:25 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.4 2003/01/08 05:21:01 george Exp $
+
+*erlang-9b (07 Jan 2003)
+
+ 07 Jan 2003; George Shapovalov <george@gentoo.org> erlang-8b.ebuild, erlang-9b.ebuild :
+ new version,
+ cleaned up erlang-8b.ebuild and added IUSE
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/dev-lang/erlang/erlang-8b.ebuild b/dev-lang/erlang/erlang-8b.ebuild
index 0664e0841158..02e041d4ec89 100644
--- a/dev-lang/erlang/erlang-8b.ebuild
+++ b/dev-lang/erlang/erlang-8b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-8b.ebuild,v 1.2 2002/12/09 04:20:57 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-8b.ebuild,v 1.3 2003/01/08 05:21:01 george Exp $
IUSE="X ssl"
@@ -11,9 +11,9 @@ S="${WORKDIR}/otp_src_R8B-2"
LICENSE="EPL"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc "
+KEYWORDS="x86 ~ppc ~sparc "
-RDEPEND=">=sys-devel/perl-5.6.1
+DEPEND=">=sys-devel/perl-5.6.1
X? ( >=x11-base/xfree-4.2.0-r12 )
ssl? ( >=dev-libs/openssl-0.9.6d )"
@@ -24,30 +24,28 @@ src_compile() {
src_install() {
ERL_LIBDIR="/usr/lib/erlang"
-
+
make INSTALL_PREFIX=${D} install || die
-
+
dosym ${ERL_LIBDIR}/bin/erl /usr/bin/erl
dosym ${ERL_LIBDIR}/bin/erlc /usr/bin/erlc
dosym ${ERL_LIBDIR}/erts-5.1.2/bin/epmd ${ERL_LIBDIR}/bin/
-
+
## Remove ${D} from the /usr/lib/erlang/bin/erl and start script
-
+
cd ${D}/${ERL_LIBDIR}/bin
sed -e "s;${D};;" erl > erl.tmp
mv ./erl.tmp ./erl
sed -e "s;${D};;" start > start.tmp
mv ./start.tmp ./start
-
+
chmod 755 ./erl ./start
-
-
+
+
## Clean up the no longer needed
-
+
rm ${D}/${ERL_LIBDIR}/Install
-
+
cd ${S}
dodoc AUTHORS EPLICENCE README
}
-
-
diff --git a/dev-lang/erlang/erlang-9b.ebuild b/dev-lang/erlang/erlang-9b.ebuild
new file mode 100644
index 000000000000..2de8e03d813e
--- /dev/null
+++ b/dev-lang/erlang/erlang-9b.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-9b.ebuild,v 1.1 2003/01/08 05:21:01 george Exp $
+
+IUSE="X ssl"
+
+DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
+HOMEPAGE="http://www.erlang.org/"
+SRC_URI="http://www.erlang.org/download/otp_src_R9B-0.tar.gz"
+S="${WORKDIR}/otp_src_R9B-0"
+
+LICENSE="EPL"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-devel/perl-5.6.1
+ X? ( >=x11-base/xfree-4.2.0-r12 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )"
+
+
+src_compile() {
+ econf --enable-threads || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ ERL_LIBDIR="/usr/lib/erlang"
+
+ make INSTALL_PREFIX=${D} install || die
+
+ dosym ${ERL_LIBDIR}/bin/erl /usr/bin/erl
+ dosym ${ERL_LIBDIR}/bin/erlc /usr/bin/erlc
+ dosym ${ERL_LIBDIR}/bin/ecc /usr/bin/ecc
+ dosym ${ERL_LIBDIR}/bin/elink /usr/bin/elink
+ dosym ${ERL_LIBDIR}/bin/ear /usr/bin/ear
+ dosym ${ERL_LIBDIR}/bin/escript /usr/bin/escript
+
+ ## Remove ${D} from the following files
+
+ cd ${D}/${ERL_LIBDIR}/bin
+ sed -e "s;${D};;" erl > erl.tmp
+ mv ./erl.tmp ./erl
+ sed -e "s;${D};;" start > start.tmp
+ mv ./start.tmp ./start
+ sed -e "s;${D};;" ecc > ecc.tmp
+ mv ./ecc.tmp ./ecc
+ sed -e "s;${D};;" ear > ear.tmp
+ mv ./ear.tmp ./ear
+ sed -e "s;${D};;" elink > elink.tmp
+ mv ./elink.tmp ./elink
+ sed -e "s;${D};;" escript > escript.tmp
+ mv ./escript.tmp ./escript
+ sed -e "s;${D};;" esh > esh.tmp
+ mv ./esh.tmp ./esh
+
+ chmod 755 ./erl ./start ./ecc ./ear ./elink ./escript ./esh
+
+
+ ## Clean up the no longer needed files
+
+ rm ${D}/${ERL_LIBDIR}/Install
+
+ cd ${S}
+ dodoc AUTHORS EPLICENCE README
+}
diff --git a/dev-lang/erlang/files/digest-erlang-9b b/dev-lang/erlang/files/digest-erlang-9b
new file mode 100644
index 000000000000..38d0f5e988f9
--- /dev/null
+++ b/dev-lang/erlang/files/digest-erlang-9b
@@ -0,0 +1 @@
+MD5 573be64365dd6cb0e83063a71ae65f70 otp_src_R9B-0.tar.gz 8267914