summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-01 20:11:55 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-01 20:11:55 +0000
commit9d30de733eae5e209933a9a4a5eeae9ef807c8cf (patch)
tree5997e8cbd8f427ff25901c4ae97ba3ae1739696e /sys-apps/lm_sensors
parentFixed bug #83700 (diff)
downloadgentoo-2-9d30de733eae5e209933a9a4a5eeae9ef807c8cf.tar.gz
gentoo-2-9d30de733eae5e209933a9a4a5eeae9ef807c8cf.tar.bz2
gentoo-2-9d30de733eae5e209933a9a4a5eeae9ef807c8cf.zip
Don't install stuff to the tmp dir and make it multilib friendly.
(Portage version: 2.0.51.17)
Diffstat (limited to 'sys-apps/lm_sensors')
-rw-r--r--sys-apps/lm_sensors/ChangeLog6
-rw-r--r--sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild13
-rw-r--r--sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild13
3 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/lm_sensors/ChangeLog b/sys-apps/lm_sensors/ChangeLog
index 03a80fb6adce..a6e19cae6fa3 100644
--- a/sys-apps/lm_sensors/ChangeLog
+++ b/sys-apps/lm_sensors/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/lm_sensors
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.23 2005/02/27 14:57:24 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.24 2005/03/01 20:11:55 eradicator Exp $
+
+ 01 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ lm_sensors-2.8.7.ebuild, lm_sensors-2.9.0.ebuild:
+ Don't install stuff to the tmp dir and make it multilib friendly.
*lm_sensors-2.9.0 (27 Feb 2005)
diff --git a/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild b/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild
index 56dc094570e5..fc73c751276f 100644
--- a/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild
+++ b/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild,v 1.3 2005/02/27 12:33:54 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.8.7.ebuild,v 1.4 2005/03/01 20:11:55 eradicator Exp $
-inherit flag-o-matic eutils toolchain-funcs
+inherit flag-o-matic eutils toolchain-funcs multilib
MYI2C="${WORKDIR}/i2c-headers"
@@ -102,14 +102,13 @@ src_compile() {
}
src_install() {
- mkdir -p ${D}/usr/bin
- mkdir -p ${D}/usr/sbin
+ dodir /usr/bin
+ dodir /usr/sbin
if [ ${UserModeOnly} == true ]; then
- emake DESTDIR=${D} PREFIX=${D}/usr MANDIR=${D}/usr/share/man user_install || die "Install failed!"
+ emake DESTDIR=${D} LIBDIR=/usr/$(get_libdir) PREFIX=/usr MANDIR=/usr/share/man user_install || die "Install failed!"
else
- emake LINUX=$LINUX DESTDIR=${D} PREFIX=${D}/usr MANDIR=${D}/usr/share/man install || die "Install failed!"
+ emake LINUX=$LINUX DESTDIR=${D} LIBDIR=/usr/$(get_libdir) PREFIX=/usr MANDIR=/usr/share/man install || die "Install failed!"
fi
- cp ${D}/${D}* ${D} -Rf
rm ${D}/var -Rf
exeinto /etc/init.d
diff --git a/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild b/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild
index 960ba6b87757..04d6d196186a 100644
--- a/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild
+++ b/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild,v 1.3 2005/02/27 12:34:28 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.9.0.ebuild,v 1.4 2005/03/01 20:11:55 eradicator Exp $
-inherit flag-o-matic eutils toolchain-funcs
+inherit flag-o-matic eutils toolchain-funcs multilib
MYI2C="${WORKDIR}/i2c-headers"
@@ -91,14 +91,13 @@ src_compile() {
}
src_install() {
- mkdir -p ${D}/usr/bin
- mkdir -p ${D}/usr/sbin
+ dodir /usr/bin
+ dodir /usr/sbin
if [ ${UserModeOnly} == true ]; then
- emake DESTDIR=${D} PREFIX=${D}/usr MANDIR=${D}/usr/share/man user_install || die "Install failed!"
+ emake DESTDIR=${D} LIBDIR=/usr/$(get_libdir) PREFIX=/usr MANDIR=/usr/share/man user_install || die "Install failed!"
else
- emake LINUX=$LINUX DESTDIR=${D} PREFIX=${D}/usr MANDIR=${D}/usr/share/man install || die "Install failed!"
+ emake LINUX=${LINUX} DESTDIR=${D} LIBDIR=/usr/$(get_libdir) PREFIX=/usr MANDIR=/usr/share/man install || die "Install failed!"
fi
- cp ${D}/${D}* ${D} -Rf
rm ${D}/var -Rf
exeinto /etc/init.d