summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAnant Narayanan <anant@gentoo.org>2007-04-02 21:15:07 +0000
committerAnant Narayanan <anant@gentoo.org>2007-04-02 21:15:07 +0000
commit7f196be9b87b8776e3a12a23c3203189eef271dd (patch)
tree3384a9b395ea024ba26161350df1e9022eed9d69 /eclass
parentAdd acme and its dependencies (diff)
downloadplan9-7f196be9b87b8776e3a12a23c3203189eef271dd.tar.gz
plan9-7f196be9b87b8776e3a12a23c3203189eef271dd.tar.bz2
plan9-7f196be9b87b8776e3a12a23c3203189eef271dd.zip
Create seperate overlay (1)
svn path=/; revision=3
Diffstat (limited to 'eclass')
-rw-r--r--eclass/plan9-cmds.eclass24
1 files changed, 24 insertions, 0 deletions
diff --git a/eclass/plan9-cmds.eclass b/eclass/plan9-cmds.eclass
new file mode 100644
index 0000000..01fc209
--- /dev/null
+++ b/eclass/plan9-cmds.eclass
@@ -0,0 +1,24 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.82 2007/03/18 21:39:30 carlo Exp $
+#
+# Author Anant Narayanan <anant@gentoo.org>
+#
+# This is the plan9-cmds eclass which supports broken-up Plan9 applications.
+
+inherit plan9-libs
+
+function plan9-cmds_src_compile() {
+ plan9-libs_src_compile
+}
+
+function plan9-cmds_src_install() {
+ set_path
+ mk install || die "Install Failed!"
+
+ dobin ${S}/bin/${PN}
+ doman ${S}/man/man1/${PN}.1
+}
+
+EXPORT_FUNCTIONS src_compile src_install
+