From 73b0d9d2f69328fbc79449b1af99ee6214f475f5 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 6 Feb 2014 09:37:58 +0000 Subject: Version bump. Removed old versions Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- app-shells/mksh/mksh-49.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 app-shells/mksh/mksh-49.ebuild (limited to 'app-shells/mksh/mksh-49.ebuild') diff --git a/app-shells/mksh/mksh-49.ebuild b/app-shells/mksh/mksh-49.ebuild new file mode 100644 index 000000000000..d48b923a28de --- /dev/null +++ b/app-shells/mksh/mksh-49.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-49.ebuild,v 1.1 2014/02/06 09:37:57 polynomial-c Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="MirBSD KSH Shell" +HOMEPAGE="http://mirbsd.de/mksh" +SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="static" +DEPEND="static? ( dev-libs/klibc )" +RDEPEND="" +S="${WORKDIR}/${PN}" + +src_compile() { + tc-export CC + # we want to build static with klibc + if use static ; then + unset CC + export CC="/usr/bin/klcc" + export LDSTATIC="-static" + fi + export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\"" + # we can't assume lto existing/enabled, so we add a fallback + sh Build.sh -r -c lto || sh Rebuild.sh || die +} + +src_install() { + exeinto /bin + doexe mksh + doman mksh.1 + dodoc dot.mkshrc +} + +src_test() { + ./test.sh || die +} -- cgit v1.2.3-65-gdbad