diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2014-02-06 09:37:58 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2014-02-06 09:37:58 +0000 |
commit | 73b0d9d2f69328fbc79449b1af99ee6214f475f5 (patch) | |
tree | 8b1563c2b5cf5b5a688581d0bc7fdcfdaada3a16 /app-shells/mksh/mksh-49.ebuild | |
parent | Marked ~hppa (bug #500422). (diff) | |
download | historical-73b0d9d2f69328fbc79449b1af99ee6214f475f5.tar.gz historical-73b0d9d2f69328fbc79449b1af99ee6214f475f5.tar.bz2 historical-73b0d9d2f69328fbc79449b1af99ee6214f475f5.zip |
Version bump. Removed old versions
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-shells/mksh/mksh-49.ebuild')
-rw-r--r-- | app-shells/mksh/mksh-49.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 +} |