/[gentoo-x86]/sys-block/fwdl/fwdl-1.2.3.ebuild
Gentoo

Contents of /sys-block/fwdl/fwdl-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 27 06:28:12 2011 UTC (8 years, 1 month ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +12 -5 lines
Update to EAPI 4, add debug use flag, and respect LDFLAGS (bug #337876).

(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20