30 lines
824 B
Bash
30 lines
824 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/aoetools-27.ebuild,v 1.7 2009/09/23 20:29:06 patrick Exp $
|
|
|
|
DESCRIPTION="aoetools are programs for users of the ATA over Ethernet (AoE) network storage protocol"
|
|
HOMEPAGE="http://sf.net/projects/aoetools/"
|
|
SRC_URI="mirror://sourceforge/aoetools/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
|
|
IUSE=""
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}
|
|
sys-apps/util-linux"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
sed -i \
|
|
-e 's,^CFLAGS.*,CFLAGS += -Wall,g' \
|
|
Makefile || die "Failed to clean up makefile"
|
|
}
|
|
src_compile() {
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR="${D}" || die "install failed"
|
|
dodoc NEWS README TODO
|
|
}
|