summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2009-05-11 12:03:49 +0000
committerJustin Lecher <jlec@gentoo.org>2009-05-11 12:03:49 +0000
commitca0507be501656846e14ca3f894f7cd45ee2df0a (patch)
tree4bab7bdbb51819d56f8c6bd734d22f126d1ae0c4 /sys-fs
parentsys-fs/ext3grep: sys-fs/ext3grep use base eclass (diff)
downloadsunrise-reviewed-ca0507be501656846e14ca3f894f7cd45ee2df0a.tar.gz
sunrise-reviewed-ca0507be501656846e14ca3f894f7cd45ee2df0a.tar.bz2
sunrise-reviewed-ca0507be501656846e14ca3f894f7cd45ee2df0a.zip
sys-fs/tdu: sys-fs/tdu added
svn path=/sunrise/; revision=8524
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/tdu/ChangeLog10
-rw-r--r--sys-fs/tdu/Manifest5
-rw-r--r--sys-fs/tdu/files/2008.05.07-DESTDIR.patch28
-rw-r--r--sys-fs/tdu/metadata.xml5
-rw-r--r--sys-fs/tdu/tdu-2008.05.07.ebuild35
5 files changed, 83 insertions, 0 deletions
diff --git a/sys-fs/tdu/ChangeLog b/sys-fs/tdu/ChangeLog
new file mode 100644
index 000000000..3691f503a
--- /dev/null
+++ b/sys-fs/tdu/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/tdu
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*tdu-2008.05.07 (11 May 2009)
+
+ 11 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/2008.05.07-DESTDIR.patch, +tdu-2008.05.07.ebuild, +metadata.xml:
+ initial checkin to sunrise
+
diff --git a/sys-fs/tdu/Manifest b/sys-fs/tdu/Manifest
new file mode 100644
index 000000000..77c2a46e1
--- /dev/null
+++ b/sys-fs/tdu/Manifest
@@ -0,0 +1,5 @@
+AUX 2008.05.07-DESTDIR.patch 888 RMD160 5b7ad222d8a0c9da5ee794ee7a527bab51943d96 SHA1 520850c33835e51fb9d480daaafbca9bb313bcde SHA256 04d002a5fb86f778845378c8e44bf34173a8609294639ae46634603e60a46af6
+DIST tdu-2008-05-07.tar.gz 20466 RMD160 7bf5ab5afe0d19eaf1d4c27bd6735d44da624633 SHA1 0ac0873bfd17ea360f7cc27011c77ef606c9febd SHA256 df59d3cc3dda4dc5f85db8ce71b24842334c72bf4b8a501917c8df0a22511a1f
+EBUILD tdu-2008.05.07.ebuild 816 RMD160 d9f8f65d0592a56f77b2c76cb04e79113431933b SHA1 065527ccd3c1214f3ed7c95aab48f151537df91e SHA256 8e61a7780cbaa71a28449a6b04c341422dbd27751b3f0581474fe3abe042d558
+MISC ChangeLog 303 RMD160 b9ae8c32fe4ef7acc9ba267b07472b9051fc959b SHA1 b7c8f42456c0ccc05d410257ae30a9b3ebedee21 SHA256 cb34195d92f264a6cbf9010b7697dabeac4e898afffbb9bdbf387d49070da195
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-fs/tdu/files/2008.05.07-DESTDIR.patch b/sys-fs/tdu/files/2008.05.07-DESTDIR.patch
new file mode 100644
index 000000000..4282c14b6
--- /dev/null
+++ b/sys-fs/tdu/files/2008.05.07-DESTDIR.patch
@@ -0,0 +1,28 @@
+--- Makefile 2008-05-08 01:53:36.000000000 +0200
++++ Makefile.new 2009-05-10 20:29:19.092780888 +0200
+@@ -39,10 +39,10 @@
+
+ .PHONY: install
+ install: $(program)
+- $(install) -d -m 0755 $(prefix)/bin
+- $(install) -d -m 0755 $(prefix)/share/man/man1
+- $(install) -m 0755 $(program) $(prefix)/bin
+- $(install) -m 0644 tdu.1 $(prefix)/share/man/man1
++ $(install) -d -m 0755 $(DESTDIR)$(prefix)/bin
++ $(install) -d -m 0755 $(DESTDIR)$(prefix)/share/man/man1
++ $(install) -m 0755 $(program) $(DESTDIR)$(prefix)/bin
++ $(install) -m 0644 tdu.1 $(DESTDIR)$(prefix)/share/man/man1
+
+ .PHONY: tar
+ tar:
+--- Makefile 2009-05-10 20:46:13.396773979 +0200
++++ Makefile.new 2009-05-10 20:46:52.117816572 +0200
+@@ -35,7 +35,7 @@
+ splint -weak -posix-lib `pkg-config --cflags glib-2.0` *.c *.h
+
+ install = /usr/bin/install
+-prefix = /usr/local
++prefix = /usr
+
+ .PHONY: install
+ install: $(program)
diff --git a/sys-fs/tdu/metadata.xml b/sys-fs/tdu/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/sys-fs/tdu/metadata.xml
@@ -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/sys-fs/tdu/tdu-2008.05.07.ebuild b/sys-fs/tdu/tdu-2008.05.07.ebuild
new file mode 100644
index 000000000..0c21de7a8
--- /dev/null
+++ b/sys-fs/tdu/tdu-2008.05.07.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator base toolchain-funcs
+
+MY_P="${PN}-$(replace_all_version_separators - ${PV})"
+
+DESCRIPTION="terminal program that displays disk space utilization in an interactive full-screen folding outline"
+HOMEPAGE="http://webonastick.com/tdu/"
+SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ dev-libs/glib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+S="${WORKDIR}"/${PN}
+
+PATCHES=( "${FILESDIR}"/${PV}-DESTDIR.patch )
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) || \
+ die "compilation failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "installation failed"
+ dodoc README TODO || die "nothing to read"
+}