summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-03-13 04:16:25 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-03-13 04:16:25 +0000
commit8a34c79e5ed6e4a4c2536b3a98792021f883ac7b (patch)
tree096b2c517aa5d92d9d474d2403f8c9f6162f72ec /app-admin/sysstat
parentmyconf wasn't being checked. it is now (diff)
downloadhistorical-8a34c79e5ed6e4a4c2536b3a98792021f883ac7b.tar.gz
historical-8a34c79e5ed6e4a4c2536b3a98792021f883ac7b.tar.bz2
historical-8a34c79e5ed6e4a4c2536b3a98792021f883ac7b.zip
Added USE dependent nls compilation
Diffstat (limited to 'app-admin/sysstat')
-rw-r--r--app-admin/sysstat/ChangeLog8
-rw-r--r--app-admin/sysstat/files/digest-sysstat-3.3.6-r11
-rw-r--r--app-admin/sysstat/sysstat-3.3.6-r1.ebuild39
3 files changed, 47 insertions, 1 deletions
diff --git a/app-admin/sysstat/ChangeLog b/app-admin/sysstat/ChangeLog
index efa77333f211..28846758bcd9 100644
--- a/app-admin/sysstat/ChangeLog
+++ b/app-admin/sysstat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/sysstat
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.1 2002/02/01 21:52:59 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/ChangeLog,v 1.2 2002/03/13 04:16:25 seemant Exp $
+
+*sysstat-3.3.6-r1 (12 Mar 2002)
+
+ 12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sysstat-3.3.6-r1 :
+
+ Added USE dependent nls compilation.
*sysstat-3.3.6 (1 Feb 2002)
diff --git a/app-admin/sysstat/files/digest-sysstat-3.3.6-r1 b/app-admin/sysstat/files/digest-sysstat-3.3.6-r1
new file mode 100644
index 000000000000..977af21e6326
--- /dev/null
+++ b/app-admin/sysstat/files/digest-sysstat-3.3.6-r1
@@ -0,0 +1 @@
+MD5 b23d8113f4bd627a5484341999026379 sysstat-3.3.6.tar.gz 84784
diff --git a/app-admin/sysstat/sysstat-3.3.6-r1.ebuild b/app-admin/sysstat/sysstat-3.3.6-r1.ebuild
new file mode 100644
index 000000000000..98323f2c0d67
--- /dev/null
+++ b/app-admin/sysstat/sysstat-3.3.6-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-3.3.6-r1.ebuild,v 1.1 2002/03/13 04:16:25 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="System performance tools for Linux"
+SRC_URI="http://www.ibiblio.org/pub/Linux/system/status/${P}.tar.gz"
+HOMEPAGE="http://perso.wanadoo.fr/sebastien.godard/"
+
+DEPEND="virtual/glibc
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
+}
+
+src_compile() {
+ yes "" | make config
+ cp build/CONFIG build/CONFIG.orig
+ use nls || sed 's/\(ENABLE_NLS\ =\ \)y/\1n/g' build/CONFIG.orig > build/CONFIG
+ make PREFIX=/usr || die
+
+}
+
+src_install () {
+
+ dodir /usr/bin
+ dodir /usr/share/man/man{1,8}
+ dodir /var/log/sa
+ try make DESTDIR=${D} PREFIX=/usr MAN_DIR=/usr/share/man DOC_DIR=/usr/share/doc/${PF} install
+
+}
+