summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-02-23 14:51:34 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-02-23 14:51:34 +0000
commitcdf4d9a34933f37cf11ee9a6059a249986e21fe6 (patch)
tree60603aead06ab9cbfd0683e33339539c5dcfd317 /app-shells/mksh/mksh-39b.ebuild
parentFixing doc installation. Slightly hacky, sorry :) (diff)
downloadhistorical-cdf4d9a34933f37cf11ee9a6059a249986e21fe6.tar.gz
historical-cdf4d9a34933f37cf11ee9a6059a249986e21fe6.tar.bz2
historical-cdf4d9a34933f37cf11ee9a6059a249986e21fe6.zip
Buuump
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'app-shells/mksh/mksh-39b.ebuild')
-rw-r--r--app-shells/mksh/mksh-39b.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-shells/mksh/mksh-39b.ebuild b/app-shells/mksh/mksh-39b.ebuild
new file mode 100644
index 000000000000..fab6aaad55ff
--- /dev/null
+++ b/app-shells/mksh/mksh-39b.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-39b.ebuild,v 1.1 2010/02/23 14:51:34 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+ARC4_VERSION="1.14"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz
+ http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c.${ARC4_VERSION}"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+DEPEND="app-arch/cpio"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
+ cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
+}
+
+src_compile() {
+ tc-export CC
+ sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh || die
+ doman mksh.1 || die
+ dodoc dot.mkshrc || die
+}
+
+src_test() {
+ ./test.sh || die
+}