blob: fccb84340df2c588e20db99b958f21637d0eba66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/fwdl/fwdl-1.2.3.ebuild,v 1.2 2011/11/27 06:28:12 radhermit Exp $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="Seagate Fibre-Channel disk firmware upgrade tool"
HOMEPAGE="http://www.tc.umn.edu/~erick205/Projects/"
SRC_URI="http://www.tc.umn.edu/~erick205/Projects/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE="debug"
src_prepare() {
use debug || { sed -i -e "s/^EXTRA_DEFINES/#\0/" Makefile || die ; }
}
src_compile() {
emake COMPILE_LINUX="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}"
}
src_install() {
dosbin fwdl
dodoc CHANGES INSTALL README
}
|