]> Pileus Git - ~andy/sunrise/commitdiff
app-misc/tmux: New Ebuild for bug 224455. Thanks to drac for reviewing, and Marek...
authorTiago Cunha <tcunha@gentoo.org>
Mon, 2 Jun 2008 18:16:36 +0000 (18:16 +0000)
committerTiago Cunha <tcunha@gentoo.org>
Mon, 2 Jun 2008 18:16:36 +0000 (18:16 +0000)
svn path=/sunrise/; revision=6247

app-misc/tmux/ChangeLog [new file with mode: 0644]
app-misc/tmux/Manifest [new file with mode: 0644]
app-misc/tmux/metadata.xml [new file with mode: 0644]
app-misc/tmux/tmux-0.2.ebuild [new file with mode: 0644]

diff --git a/app-misc/tmux/ChangeLog b/app-misc/tmux/ChangeLog
new file mode 100644 (file)
index 0000000..912ef00
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for app-misc/tmux
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  02 Jun 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> +tmux-0.2.ebuild,
+  +metadata.xml:
+  New Ebuild for bug 224455. Thanks to drac for reviewing, and Marek Miller
+  for testing on x86 and improving src_install by installing the docs/examples
+
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
new file mode 100644 (file)
index 0000000..ccbaff9
--- /dev/null
@@ -0,0 +1,4 @@
+DIST tmux-0.2.tar.gz 76574 RMD160 2b4ce714751e12c9133ee0fac041a43ff78700ec SHA1 cceeb24a38fc58ffaf0ed1d5eb31ec1270626706 SHA256 1866c83a9700636170e4d342d21f6b4c227a19ab1070702258c1ac9f9e1df4a3
+EBUILD tmux-0.2.ebuild 785 RMD160 d1f7f526032d9b806930d79762eee735a4616da4 SHA1 dd5c71ba76a6ac8c32ba44795a4e7e8e675ca5b4 SHA256 8054f092831fb212ae6f4240ea320dcfc74b364e9fa188764f71e964ea920ea7
+MISC ChangeLog 361 RMD160 23c16d50fa698c749a513dd8290c6bc67b0925e1 SHA1 119aed509f9d21b4abfa1f40b059de7289070c25 SHA256 b22aa8cc87bbc2013cfff9b042faf8a4b26a6821d620815559fd94c44b58139d
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-misc/tmux/metadata.xml b/app-misc/tmux/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/app-misc/tmux/tmux-0.2.ebuild b/app-misc/tmux/tmux-0.2.ebuild
new file mode 100644 (file)
index 0000000..e2c5252
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple, modern, alternative to programs such as GNU screen"
+HOMEPAGE="http://tmux.sourceforge.net"
+SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="examples"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       sed -i -e "s|man/man1|share/man/man1|" GNUmakefile || die "sed failed."
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" || die "emake failed."
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed."
+
+       dodoc NOTES TODO
+
+       if use examples ; then
+               docinto examples
+               dodoc examples/*
+       fi
+}