summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-17 01:34:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-17 01:34:55 +0000
commit41aac1f1c294dc72d636f073794da2787b0aceeb (patch)
treee61479d66e51cfc8015c08bd961d6fb4cfe2b52c /app-text
parentthe direct download locations went away (bug #224793) (diff)
downloadgentoo-2-41aac1f1c294dc72d636f073794da2787b0aceeb.tar.gz
gentoo-2-41aac1f1c294dc72d636f073794da2787b0aceeb.tar.bz2
gentoo-2-41aac1f1c294dc72d636f073794da2787b0aceeb.zip
version bump with fix for bug #253712 as well
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/tree/ChangeLog9
-rw-r--r--app-text/tree/tree-1.5.2.2.ebuild38
2 files changed, 45 insertions, 2 deletions
diff --git a/app-text/tree/ChangeLog b/app-text/tree/ChangeLog
index d779a9775cf5..7d7320f133ae 100644
--- a/app-text/tree/ChangeLog
+++ b/app-text/tree/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/tree
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tree/ChangeLog,v 1.66 2008/11/26 15:41:44 ranger Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tree/ChangeLog,v 1.67 2009/02/17 01:34:55 mr_bones_ Exp $
+
+*tree-1.5.2.2 (17 Feb 2009)
+
+ 17 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> +tree-1.5.2.2.ebuild:
+ version bump with fix for bug #253712 as well
26 Nov 2008; Brent Baude <ranger@gentoo.org> tree-1.5.2.1.ebuild:
stable ppc64, bug 247293
diff --git a/app-text/tree/tree-1.5.2.2.ebuild b/app-text/tree/tree-1.5.2.2.ebuild
new file mode 100644
index 000000000000..1dc88fd45ac5
--- /dev/null
+++ b/app-text/tree/tree-1.5.2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.5.2.2.ebuild,v 1.1 2009/02/17 01:34:55 mr_bones_ Exp $
+
+EAPI=2
+inherit toolchain-funcs flag-o-matic bash-completion
+
+DESCRIPTION="Lists directories recursively, and produces an indented listing of files."
+HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
+SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i \
+ -e 's:LINUX:__linux__:' tree.c \
+ || die "sed failed"
+}
+
+src_compile() {
+ append-lfs-flags
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ XOBJS="$(use elibc_uclibc && echo strverscmp.o)" \
+ || die "emake failed"
+}
+
+src_install() {
+ dobin tree || die "dobin failed"
+ doman man/tree.1
+ dodoc CHANGES README*
+ dobashcompletion "${FILESDIR}"/${PN}.bashcomp
+}