summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 11:51:14 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 11:51:14 +0000
commit9221e4d46fdf1e180bf2dde7ecc7749b8955f6b3 (patch)
tree8014290ccdabf3139b9a26e6175db4d85c2a8a4e /sys-cluster
parentFix path. (diff)
downloadgentoo-2-9221e4d46fdf1e180bf2dde7ecc7749b8955f6b3.tar.gz
gentoo-2-9221e4d46fdf1e180bf2dde7ecc7749b8955f6b3.tar.bz2
gentoo-2-9221e4d46fdf1e180bf2dde7ecc7749b8955f6b3.zip
Removed check_KV, improved ebuild.
(Portage version: 2.1-r1)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd/ChangeLog6
-rw-r--r--sys-cluster/drbd/drbd-0.7.21.ebuild11
-rw-r--r--sys-cluster/drbd/drbd-8.0_pre5.ebuild13
3 files changed, 17 insertions, 13 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 7728ab27f2e8..ac4e31a87846 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/drbd
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.53 2006/10/14 18:04:40 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.54 2006/10/15 11:51:14 xmerlin Exp $
+
+ 15 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.21.ebuild,
+ drbd-8.0_pre5.ebuild:
+ Removed check_KV, improved ebuild.
14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org>
-drbd-0.6.12-r1.ebuild, -drbd-0.7.11.ebuild, -drbd-0.7.17.ebuild,
diff --git a/sys-cluster/drbd/drbd-0.7.21.ebuild b/sys-cluster/drbd/drbd-0.7.21.ebuild
index d809b00c5417..b20b6d8fda4d 100644
--- a/sys-cluster/drbd/drbd-0.7.21.ebuild
+++ b/sys-cluster/drbd/drbd-0.7.21.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.21.ebuild,v 1.2 2006/08/24 19:07:11 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-0.7.21.ebuild,v 1.3 2006/10/15 11:51:14 xmerlin Exp $
-inherit eutils versionator linux-mod
+inherit eutils versionator linux-mod linux-info
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
@@ -18,8 +18,11 @@ DEPEND="virtual/linux-sources"
RDEPEND=""
SLOT="0"
+pkg_setup() {
+ linux-mod_pkg_setup
+}
+
src_compile() {
- check_KV
set_arch_to_kernel
einfo ""
@@ -37,7 +40,7 @@ src_compile() {
}
src_install() {
- make PREFIX=${D} install || die "install problem"
+ emake PREFIX=${D} install || die "install problem"
# gentoo-ish init-script
newinitd ${FILESDIR}/${PN}-0.7.rc ${PN} || die
diff --git a/sys-cluster/drbd/drbd-8.0_pre5.ebuild b/sys-cluster/drbd/drbd-8.0_pre5.ebuild
index aa1fbd776108..20629c359443 100644
--- a/sys-cluster/drbd/drbd-8.0_pre5.ebuild
+++ b/sys-cluster/drbd/drbd-8.0_pre5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0_pre5.ebuild,v 1.1 2006/10/14 11:27:42 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.0_pre5.ebuild,v 1.2 2006/10/15 11:51:14 xmerlin Exp $
-inherit eutils versionator linux-mod
+inherit eutils versionator linux-mod linux-info
LICENSE="GPL-2"
KEYWORDS="~x86"
@@ -21,14 +21,11 @@ SLOT="0"
S="${WORKDIR}/${PN}-${MY_PV}"
-src_unpack() {
- unpack ${A}
- cd ${S}
-# epatch ${FILESDIR}/${PN}-${MY_MAJ_PV}-module-Makefile.patch || die
+pkg_setup() {
+ linux-mod_pkg_setup
}
src_compile() {
- check_KV
set_arch_to_kernel
einfo ""
@@ -45,7 +42,7 @@ src_compile() {
}
src_install() {
- make PREFIX=${D} install || die "install problem"
+ emake PREFIX=${D} install || die "install problem"
# gentoo-ish init-script
newinitd ${FILESDIR}/${PN}-0.7.rc ${PN} || die