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
commitb7b454cce861bf0579db2df69dffb1e0bf250d47 (patch)
tree2ae91fcbe5baf449d96d7fc9d3b12bf17f570e7f /sys-apps/9base
parentCommit license for 9base (diff)
downloadgentoo-2-b7b454cce861bf0579db2df69dffb1e0bf250d47.tar.gz
gentoo-2-b7b454cce861bf0579db2df69dffb1e0bf250d47.tar.bz2
gentoo-2-b7b454cce861bf0579db2df69dffb1e0bf250d47.zip
Initial commit.
(Portage version: 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/metadata.xml9
3 files changed, 63 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/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>