--- tree-1.4.ebuild 2004-07-01 22:09:26.000000000 +1000 +++ /home/aross/tree-1.5.ebuild 2004-09-13 10:19:41.193488688 +1000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.4.ebuild,v 1.11 2004/07/01 12:09:02 eradicator Exp $ -MY_PV="${PV}b3" +MY_PV="${PV}.0" 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/${PN}-${MY_PV}.tgz" @@ -18,7 +18,7 @@ src_unpack() { unpack ${A} - cd ${S} + cd ${S}.0 sed -i \ -e 's/-O2 -Wall -fomit-frame-pointer/$(E_CFLAGS)/' Makefile \ || die "sed Makefile failed" @@ -29,10 +29,12 @@ } src_compile() { + cd ${S}.0 emake E_CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { + cd ${S}.0 dobin tree || die "dobin failed" doman tree.1 dodoc CHANGES README*