1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs flag-o-matic bash-completion-r1
8 DESCRIPTION="Lists directories recursively, and produces an indented listing of files"
9 HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
10 SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
14 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
17 RDEPEND="!=sci-biology/meme-4.8.1"
21 sed -i -e 's:LINUX:__linux__:' tree.c || die
22 mv doc/tree.1.fr doc/tree.fr.1
23 if use !elibc_glibc ; then
24 # 433972, also previously done only for elibc_uclibc
25 sed -i -e '/^OBJS=/s/$/ strverscmp.o/' Makefile || die
33 CFLAGS="${CFLAGS} ${CPPFLAGS}" \
41 newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN}