View | Details | Raw Unified
Collapse All | Expand All

(-) tree-1.4.ebuild (-2 / +4 lines)
 Lines 2-8    Link Here 
# Distributed under the terms of the GNU General Public License v2
# 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 $
# $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."
DESCRIPTION="Lists directories recursively, and produces an indented listing of files."
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
SRC_URI="ftp://mama.indstate.edu/linux/tree/${PN}-${MY_PV}.tgz"
SRC_URI="ftp://mama.indstate.edu/linux/tree/${PN}-${MY_PV}.tgz"
 Lines 18-24    Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	cd ${S}
	cd ${S}.0
	sed -i \
	sed -i \
		-e 's/-O2 -Wall -fomit-frame-pointer/$(E_CFLAGS)/' Makefile \
		-e 's/-O2 -Wall -fomit-frame-pointer/$(E_CFLAGS)/' Makefile \
			|| die "sed Makefile failed"
			|| die "sed Makefile failed"
 Lines 29-38    Link Here 
}
}
src_compile() {
src_compile() {
	cd ${S}.0
	emake E_CFLAGS="${CFLAGS}" || die "emake failed"
	emake E_CFLAGS="${CFLAGS}" || die "emake failed"
}
}
src_install() {
src_install() {
	cd ${S}.0
	dobin tree || die "dobin failed"
	dobin tree || die "dobin failed"
	doman tree.1
	doman tree.1
	dodoc CHANGES README*
	dodoc CHANGES README*