summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-11 16:24:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-11 16:24:26 +0000
commit9755fb7da70740e9e36320f089764fbf69303c78 (patch)
tree737104aec54f90d5a915db22fed1197f3bd73297 /sys-apps/9base
parentCommit license for 9base (diff)
downloadhistorical-9755fb7da70740e9e36320f089764fbf69303c78.tar.gz
historical-9755fb7da70740e9e36320f089764fbf69303c78.tar.bz2
historical-9755fb7da70740e9e36320f089764fbf69303c78.zip
Initial commit.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/9base')
-rw-r--r--sys-apps/9base/9base-6.ebuild45
-rw-r--r--sys-apps/9base/ChangeLog9
-rw-r--r--sys-apps/9base/Manifest4
-rw-r--r--sys-apps/9base/metadata.xml9
4 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/9base/9base-6.ebuild b/sys-apps/9base/9base-6.ebuild
new file mode 100644
index 000000000000..6e3a55b834e3
--- /dev/null
+++ b/sys-apps/9base/9base-6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/9base/9base-6.ebuild,v 1.1 2010/06/11 16:24:26 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="A port of various original Plan 9 tools for Unix, based on plan9port"
+HOMEPAGE="http://tools.suckless.org/9base"
+SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="9base"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ export PORTAGE_COMPRESS=
+
+ local _objtype=386
+ [[ $(tc-arch) == "amd64" ]] && _objtype=x86_64
+
+ my9baseopts=(
+ "PREFIX=/usr/plan9"
+ "OBJTYPE=${_objtype}"
+ "AR=$(tc-getAR) rc"
+ "CC=$(tc-getCC)"
+ "DESTDIR=${D}"
+ )
+}
+
+src_prepare() {
+ sed -i -e '/strip/d' std.mk {diff,sam}/Makefile || die
+}
+
+src_compile() {
+ emake "${my9baseopts[@]}" || die
+}
+
+src_install() {
+ emake "${my9baseopts[@]}" install || die
+ dodoc README
+}
diff --git a/sys-apps/9base/ChangeLog b/sys-apps/9base/ChangeLog
new file mode 100644
index 000000000000..aa0db660690d
--- /dev/null
+++ b/sys-apps/9base/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-apps/9base
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/9base/ChangeLog,v 1.1 2010/06/11 16:24:26 ssuominen Exp $
+
+*9base-6 (11 Jun 2010)
+
+ 11 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> +9base-6.ebuild:
+ Initial commit.
+
diff --git a/sys-apps/9base/Manifest b/sys-apps/9base/Manifest
new file mode 100644
index 000000000000..9b427638c679
--- /dev/null
+++ b/sys-apps/9base/Manifest
@@ -0,0 +1,4 @@
+DIST 9base-6.tar.gz 1045868 RMD160 7a3686ac1630c52810eebca91b2e49a935dd0812 SHA1 f349d696859db9a0ff9823cb053f54cf7501ec42 SHA256 2997480eb5b4cf3092c0896483cd2de625158bf51c501aea2dc5cf74176d6de9
+EBUILD 9base-6.ebuild 948 RMD160 3636f17934fe43455ce7ce9339c0da3044dee2a6 SHA1 6ecd014d15d92a9e474f82a653f55d5f9cb3fd0e SHA256 daed1f9303e4a03cdf8aec16614ea7c47e625c04322640de775357a95b4dbd6d
+MISC ChangeLog 318 RMD160 adfcee0506c920f1e88acbcb204384b827dd899b SHA1 d430f53432c016f53b4e7319eb79c34bb6133534 SHA256 f943bfac1c8504908a475ed6277f1c7b95161c8e91b8487150b842e13700bbe4
+MISC metadata.xml 266 RMD160 b4480e6518739202d8543a84b01b53940907f016 SHA1 3a5b0bff8b6ad1614a1e8fcbecddf54b800c80a2 SHA256 7aba9af99c2de45240978680e160a1bc959795d16c7eeeae6f2822ba59da9af2
diff --git a/sys-apps/9base/metadata.xml b/sys-apps/9base/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/sys-apps/9base/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>