summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-shells/heirloom-sh/Manifest3
-rw-r--r--app-shells/heirloom-sh/heirloom-sh-050706.ebuild45
-rw-r--r--app-shells/heirloom-sh/metadata.xml10
3 files changed, 58 insertions, 0 deletions
diff --git a/app-shells/heirloom-sh/Manifest b/app-shells/heirloom-sh/Manifest
new file mode 100644
index 0000000..6fe6434
--- /dev/null
+++ b/app-shells/heirloom-sh/Manifest
@@ -0,0 +1,3 @@
+DIST heirloom-sh-050706.tar.bz2 82725 RMD160 584458f73e7cd2376b333de2a5fd8a13f364d516 SHA1 0ce709c21e09ef183986347cf1ed80d5884aa12d SHA256 25fb8409e1eb75bb5da21ca32baf2d5eebcb8b84a1288d66e65763a125809e1d
+EBUILD heirloom-sh-050706.ebuild 895 RMD160 f27a883dd228b4cad12d01a598acdd988ed6bbcf SHA1 718f030ad3005671504851046ad4d540df47d1ee SHA256 b39fca111c3295d26d30bfbce339935348d2983438468f285d75ac00644d0efe
+MISC metadata.xml 298 RMD160 6963acae5e3cd062b99d8025b679e99f35bdd38c SHA1 2834f3ed543fd2963e6bdd62621cda0684921e0c SHA256 56b4fc1a36857edc437c9274d1860fbfee193ade2483a8f128c7f328fc3cadb0
diff --git a/app-shells/heirloom-sh/heirloom-sh-050706.ebuild b/app-shells/heirloom-sh/heirloom-sh-050706.ebuild
new file mode 100644
index 0000000..d1844be
--- /dev/null
+++ b/app-shells/heirloom-sh/heirloom-sh-050706.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A Solaris-sh based Bourne Shell, installed as 'jsh'."
+HOMEPAGE="http://foo.bar.com/"
+
+SRC_URI="mirror://sourceforge/heirloom/${P}.tar.bz2"
+
+LICENSE="CDDL"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE="+spell"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -f makefile \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ CPPFLAGS="-D_GNU_SOURCE" \
+ LARGEF="-D_FILE_OFFSET_BITS=64" \
+ SPELL="$(use spell&&echo '-DSPELL')" \
+ sh sh.1.out || die "emake failed"
+}
+
+src_install() {
+ exeinto /bin
+ newexe sh jsh
+ newman sh.1.out jsh.1
+ dodoc CHANGES README || die "dodoc failed"
+}
+
+pkg_postinst() {
+ elog "${P} has been installed as /bin/jsh. If you want to use ${PN} as your /bin/sh, do:"
+ elog "ln -sf jsh /bin/sh"
+}
diff --git a/app-shells/heirloom-sh/metadata.xml b/app-shells/heirloom-sh/metadata.xml
new file mode 100644
index 0000000..2bcff08
--- /dev/null
+++ b/app-shells/heirloom-sh/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>loki_val@gentoo.org</email>
+ <name>Peter Alfredsen</name>
+ <description>Maintainer</description>
+ </maintainer>
+</pkgmetadata>