diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-08-11 18:00:51 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-08-11 18:00:51 +0000 |
commit | f1aa7ec0899edc2860e3392e5c937e369f1da97c (patch) | |
tree | 1d7c450d5a4f0772eeb607250c9e0dd508eafc7b /sys-cluster/pvfs2 | |
parent | New revision. Fixes code filters (bug #102124) (diff) | |
download | gentoo-2-f1aa7ec0899edc2860e3392e5c937e369f1da97c.tar.gz gentoo-2-f1aa7ec0899edc2860e3392e5c937e369f1da97c.tar.bz2 gentoo-2-f1aa7ec0899edc2860e3392e5c937e369f1da97c.zip |
Ebuild by Robin H. Johnson <robbat2@gentoo.org>, with help from Patrick Lougheed <private_email>.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/pvfs2')
-rw-r--r-- | sys-cluster/pvfs2/ChangeLog | 11 | ||||
-rw-r--r-- | sys-cluster/pvfs2/Manifest | 3 | ||||
-rw-r--r-- | sys-cluster/pvfs2/files/digest-pvfs2-1.2.0 | 1 | ||||
-rw-r--r-- | sys-cluster/pvfs2/metadata.xml | 5 | ||||
-rw-r--r-- | sys-cluster/pvfs2/pvfs2-1.2.0.ebuild | 68 |
5 files changed, 88 insertions, 0 deletions
diff --git a/sys-cluster/pvfs2/ChangeLog b/sys-cluster/pvfs2/ChangeLog new file mode 100644 index 000000000000..ddf584f356de --- /dev/null +++ b/sys-cluster/pvfs2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-cluster/pvfs2 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.1 2005/08/11 18:00:51 robbat2 Exp $ + +*pvfs2-1.2.0 (11 Aug 2005) + + 11 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml, + +pvfs2-1.2.0.ebuild: + Ebuild by Robin H. Johnson <robbat2@gentoo.org>, with help from Patrick + Lougheed <private_email>. + diff --git a/sys-cluster/pvfs2/Manifest b/sys-cluster/pvfs2/Manifest new file mode 100644 index 000000000000..4ff096a461ea --- /dev/null +++ b/sys-cluster/pvfs2/Manifest @@ -0,0 +1,3 @@ +MD5 1a9b84fd7bd16cef8c88a4c2a88a28d8 pvfs2-1.2.0.ebuild 1162 +MD5 10a9290cd3f7f8495995eac46f51a0c9 files/digest-pvfs2-1.1.0 64 +MD5 d5d27a9da1c6d2abe07cc26745936aa5 files/digest-pvfs2-1.2.0 64 diff --git a/sys-cluster/pvfs2/files/digest-pvfs2-1.2.0 b/sys-cluster/pvfs2/files/digest-pvfs2-1.2.0 new file mode 100644 index 000000000000..308236b5a69d --- /dev/null +++ b/sys-cluster/pvfs2/files/digest-pvfs2-1.2.0 @@ -0,0 +1 @@ +MD5 69770905232f69196e6db3d97d87f1e4 pvfs2-1.2.0.tar.gz 3123657 diff --git a/sys-cluster/pvfs2/metadata.xml b/sys-cluster/pvfs2/metadata.xml new file mode 100644 index 000000000000..348e6c4de815 --- /dev/null +++ b/sys-cluster/pvfs2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +</pkgmetadata> diff --git a/sys-cluster/pvfs2/pvfs2-1.2.0.ebuild b/sys-cluster/pvfs2/pvfs2-1.2.0.ebuild new file mode 100644 index 000000000000..478f878b291e --- /dev/null +++ b/sys-cluster/pvfs2/pvfs2-1.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/pvfs2-1.2.0.ebuild,v 1.1 2005/08/11 18:00:51 robbat2 Exp $ + +inherit kernel-mod eutils + +DESCRIPTION="Parallel Virtual File System version 2" +HOMEPAGE="http://www.pvfs.org/pvfs2/" +SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${P}.tar.gz" +IUSE="gtk debug static doc" +RDEPEND="gtk? ( >=x11-libs/gtk+-2 ) + sys-libs/db" +DEPEND="${RDEPEND} + virtual/linux-sources" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +S="${WORKDIR}/${P/_/}" + +src_compile() { + local myconf kernmodtarget + myconf="--enable-mmap-racache `use_enable !static shared` `use_enable static`" + if kernel-mod_is_2_6_kernel ; then + myconf="${myconf} --with-kernel=${KERNEL_DIR} --enable-epoll" + kernmodtarget="kmod" + else + myconf="${myconf} --with-kernel24=${KERNEL_DIR}" + kernmodtarget="kmod24" + fi + myconf="${myconf} `use_enable gtk karma`" + use !debug && append-flags -DNDEBUG -DGOSSIP_DISABLE_DEBUG + + econf ${myconf} || die "econf failed!" + einfo "Building main code" + emake || die "main compile failed" + + # this fails dismally if $ARCH is set + einfo "Building kernel module (${kernmodtarget})" + OLDARCH="${ARCH}" + unset ARCH + emake ${kernmodtarget} || die "kernel module install failed" + export ARCH="${OLDARCH}" +} + +src_install() { + local kernmodtarget + if kernel-mod_is_2_6_kernel ; then + kernmodtarget="kmod" + else + kernmodtarget="kmod24" + fi + + # this fails dismally if $ARCH is set + OLDARCH="${ARCH}" + unset ARCH + make install ${kernmodtarget}_install prefix="${D}/usr" mandir="${D}/usr/share/man" kmod_prefix="${D}" || die "install failed" + export ARCH="${OLDARCH}" + + dodoc AUTHORS CREDITS ChangeLog INSTALL README + docinto examples + dodoc examples/{fs.conf,pvfs2-server.rc,server.conf-localhost} + # this is LARGE (~5mb) + if use docs; then + docdir="/usr/share/doc/${PF}/" + cp -ra ${S}/doc ${D}${docdir} + rm -rf ${D}${docdir}/man + fi +} |