summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-09 00:35:36 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-09 00:35:36 +0000
commit2b73e970c6830f0163a9efb0a0d041902cd57dec (patch)
tree47ac090583f45053c6c51984d07601bd69ad1e6a /sys-apps/hbaapi
parent Get rid of invalid aRts dependency. (diff)
downloadgentoo-2-2b73e970c6830f0163a9efb0a0d041902cd57dec.tar.gz
gentoo-2-2b73e970c6830f0163a9efb0a0d041902cd57dec.tar.bz2
gentoo-2-2b73e970c6830f0163a9efb0a0d041902cd57dec.zip
Cleanup ebuild a bit.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hbaapi')
-rw-r--r--sys-apps/hbaapi/ChangeLog7
-rw-r--r--sys-apps/hbaapi/hbaapi-2.2.ebuild19
2 files changed, 15 insertions, 11 deletions
diff --git a/sys-apps/hbaapi/ChangeLog b/sys-apps/hbaapi/ChangeLog
index b1420472e6db..7228b2d46d9d 100644
--- a/sys-apps/hbaapi/ChangeLog
+++ b/sys-apps/hbaapi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/hbaapi
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hbaapi/ChangeLog,v 1.2 2008/01/14 02:24:11 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hbaapi/ChangeLog,v 1.3 2009/02/09 00:35:36 vapier Exp $
+
+ 09 Feb 2009; Mike Frysinger <vapier@gentoo.org> hbaapi-2.2.ebuild:
+ Cleanup ebuild a bit.
14 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> metadata.xml,
hbaapi-2.2.ebuild:
diff --git a/sys-apps/hbaapi/hbaapi-2.2.ebuild b/sys-apps/hbaapi/hbaapi-2.2.ebuild
index 8f01e0a70987..255da0f7e306 100644
--- a/sys-apps/hbaapi/hbaapi-2.2.ebuild
+++ b/sys-apps/hbaapi/hbaapi-2.2.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hbaapi/hbaapi-2.2.ebuild,v 1.2 2008/01/14 02:24:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hbaapi/hbaapi-2.2.ebuild,v 1.3 2009/02/09 00:35:36 vapier Exp $
-DESCRIPTION="The Host Bus Adapter API for managing Fibre Channel Host Bus Adapters"
-HOMEPAGE="http://hbaapi.sourceforge.net/"
MY_PN="${PN}_src"
MY_P="${MY_PN}_${PV}"
+DESCRIPTION="The Host Bus Adapter API for managing Fibre Channel Host Bus Adapters"
+HOMEPAGE="http://hbaapi.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz
- mirror://gentoo/${P}.Makefile.gz"
-S="${WORKDIR}/${MY_P}"
+ mirror://gentoo/${P}.Makefile.gz"
LICENSE="as-is"
SLOT="0"
@@ -18,6 +17,8 @@ IUSE=""
DEPEND=""
RDEPEND=""
+S="${WORKDIR}/${MY_P}"
+
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/${P}.Makefile "${S}"/Makefile
@@ -25,13 +26,13 @@ src_unpack() {
src_compile() {
# not parallel safe!
- emake -j1 all
+ emake -j1 all || die
}
src_install() {
into /usr
- dolib.so libHBAAPI.so
- dosbin hbaapitest
+ dolib.so libHBAAPI.so || die
+ dosbin hbaapitest || die
insinto /etc
doins "${FILESDIR}"/hba.conf
dodoc readme.txt