diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-09-05 02:58:10 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-09-05 02:58:10 +0000 |
commit | b65d59ef2eb4f4fcd5cee6b22d75d6980b4592fa (patch) | |
tree | 4d146ab2737eb99b6df263135c5c28ea1c1c687c /sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild | |
parent | splitting headers from kernel ebuilds. (diff) | |
download | gentoo-2-b65d59ef2eb4f4fcd5cee6b22d75d6980b4592fa.tar.gz gentoo-2-b65d59ef2eb4f4fcd5cee6b22d75d6980b4592fa.tar.bz2 gentoo-2-b65d59ef2eb4f4fcd5cee6b22d75d6980b4592fa.zip |
changed headers dep.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild')
-rw-r--r-- | sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild b/sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild new file mode 100644 index 000000000000..b8d868411f86 --- /dev/null +++ b/sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/gnbd-1.00.00-r1.ebuild,v 1.1 2005/09/05 02:58:10 xmerlin Exp $ + +CLUSTER_VERSION="1.00.00" +DESCRIPTION="GFS Network Block Devices" +HOMEPAGE="http://sources.redhat.com/cluster/" +SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/cluster-${CLUSTER_VERSION}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND=">=sys-cluster/magma-1.00.00 + >=sys-cluster/gnbd-kernel-1.00.00" + + +S="${WORKDIR}/cluster-${CLUSTER_VERSION}/${PN}" + +src_compile() { + ./configure || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + newinitd ${FILESDIR}/${PN}-client.rc ${PN}-client || die + newinitd ${FILESDIR}/${PN}-srv.rc ${PN}-src || die + + insinto /etc + doins ${FILESDIR}/gnbdtab + + if $(has_version sys-fs/devfsd ) ; then + insinto /etc/devfs.d/ + newins ${FILESDIR}/gnbd.devfs gnbd + fi +} |