diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-18 02:14:30 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-18 02:14:30 +0000 |
commit | ce906ffd6b2e648cb7c3ed45f45f07187d7727d4 (patch) | |
tree | b2ff58d992f0c7cac19c1c1a7b25dee1cf35ab25 /sys-block/smp_utils/smp_utils-0.94.ebuild | |
parent | Bug #247307, version bump. (diff) | |
download | gentoo-2-ce906ffd6b2e648cb7c3ed45f45f07187d7727d4.tar.gz gentoo-2-ce906ffd6b2e648cb7c3ed45f45f07187d7727d4.tar.bz2 gentoo-2-ce906ffd6b2e648cb7c3ed45f45f07187d7727d4.zip |
Version bump.
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc3-00249-ga622cf6 x86_64)
Diffstat (limited to 'sys-block/smp_utils/smp_utils-0.94.ebuild')
-rw-r--r-- | sys-block/smp_utils/smp_utils-0.94.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-block/smp_utils/smp_utils-0.94.ebuild b/sys-block/smp_utils/smp_utils-0.94.ebuild new file mode 100644 index 000000000000..ef3819503311 --- /dev/null +++ b/sys-block/smp_utils/smp_utils-0.94.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/smp_utils/smp_utils-0.94.ebuild,v 1.1 2008/11/18 02:14:30 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="Utilities for SAS management protocol (SMP)" +HOMEPAGE="http://sg.danny.cz/sg/smp_utils.html" +SRC_URI="http://sg.danny.cz/sg/p/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~ppc ~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + for i in Makefile */Makefile ; do + sed -i \ + -e "/^CFLAGS/s:-g -O2:${CFLAGS}:g" \ + -e '/^PREFIX=/s:/local::' \ + -e '/^INSTDIR=/s:/bin:/sbin:' \ + -e 's:$(DESTDIR)/:$(DESTDIR):' \ + -e "/^LIBDIR=/s:/lib$:/$(get_libdir):" \ + -e '/^MANDIR=/s:)/man:)/share/man:' \ + -e 's:install -s :install :' \ + $i || die "sed of $i failed" + done +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodoc AUTHORS ChangeLog COVERAGE CREDITS README* TODO + dohtml doc/*html + make install DESTDIR="${D}" || die "make install failed" +} |