diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-19 20:05:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-19 20:05:22 +0000 |
commit | 232a2946bc99f4377ddece0e5e6fbb6e4b4ae37d (patch) | |
tree | c18f1a2fe9d58b29b4c49ac85c0f5e8435bb8b4c /dev-lang | |
parent | initial import. closed request bug #21568. (diff) | |
download | gentoo-2-232a2946bc99f4377ddece0e5e6fbb6e4b4ae37d.tar.gz gentoo-2-232a2946bc99f4377ddece0e5e6fbb6e4b4ae37d.tar.bz2 gentoo-2-232a2946bc99f4377ddece0e5e6fbb6e4b4ae37d.zip |
touchups
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/erlang/erlang-8b.ebuild | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/dev-lang/erlang/erlang-8b.ebuild b/dev-lang/erlang/erlang-8b.ebuild index 5bbb9c79778d..0c45c08db48f 100644 --- a/dev-lang/erlang/erlang-8b.ebuild +++ b/dev-lang/erlang/erlang-8b.ebuild @@ -1,21 +1,22 @@ # Copyright 1999-2003 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.5 2003/03/11 21:11:45 seemant Exp $ - -IUSE="X ssl" +# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-8b.ebuild,v 1.6 2003/06/19 20:05:22 vapier Exp $ +MY_P=otp_src_R8B-2 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_R8B-2.tar.gz" -S="${WORKDIR}/otp_src_R8B-2" +SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz" LICENSE="EPL" SLOT="0" -KEYWORDS="x86 ~ppc ~sparc " +KEYWORDS="x86 ~ppc ~sparc" +IUSE="X ssl" DEPEND=">=dev-lang/perl-5.6.1 - X? ( >=x11-base/xfree-4.2.0-r12 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" + X? ( >=x11-base/xfree-4.2.0-r12 ) + ssl? ( >=dev-libs/openssl-0.9.6d )" + +S=${WORKDIR}/${MY_P} src_compile() { econf --enable-threads || die "./configure failed" @@ -26,26 +27,16 @@ src_install() { ERL_LIBDIR="/usr/lib/erlang" make INSTALL_PREFIX=${D} install || die + dodoc AUTHORS EPLICENCE README 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 - + dosed ${ERL_LIBDIR}/bin/erl + dosed ${ERL_LIBDIR}/bin/start ## Clean up the no longer needed - rm ${D}/${ERL_LIBDIR}/Install - - cd ${S} - dodoc AUTHORS EPLICENCE README } |