Lines 1-8
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.5.0.ebuild,v 1.13 2005/08/30 14:15:49 ka0ttic Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.5.0i-r1.ebuild,v 1.14 2005/09/10 14:15:49 comio Exp $ |
4 |
|
4 |
|
5 |
inherit toolchain-funcs bash-completion |
5 |
# Added support for autotools and patch to compile under Gentoo/FreeBSD |
|
|
6 |
# by comio |
7 |
|
8 |
inherit toolchain-funcs bash-completion eutils autotools |
6 |
|
9 |
|
7 |
DESCRIPTION="Lists directories recursively, and produces an indented listing of files." |
10 |
DESCRIPTION="Lists directories recursively, and produces an indented listing of files." |
8 |
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/" |
11 |
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/" |
Lines 14-23
Link Here
|
14 |
IUSE="" |
17 |
IUSE="" |
15 |
|
18 |
|
16 |
src_compile() { |
19 |
src_compile() { |
17 |
emake \ |
20 |
econf || die |
18 |
CC="$(tc-getCC)" \ |
21 |
emake || die |
19 |
CFLAGS="${CFLAGS} -DLINUX_BIGFILE" \ |
22 |
} |
20 |
|| die "emake failed" |
23 |
|
|
|
24 |
|
25 |
src_unpack() { |
26 |
unpack ${A} |
27 |
epatch ${FILESDIR}/configure-gentoo.patch |
28 |
# chmod +x ${S}/configure |
29 |
# chmod +x ${S}/config.sub |
30 |
# chmod +x ${S}/install-sh |
31 |
# chmod +x ${S}/config.guess |
32 |
cd ${S} |
33 |
eautoreconf |
21 |
} |
34 |
} |
22 |
|
35 |
|
23 |
src_install() { |
36 |
src_install() { |