summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-04 18:56:53 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-04 18:56:53 +0000
commita36f88e9dbb2fe1cd241b34b8c77399607c1d964 (patch)
tree2cdfc0bd429467e5965ca1e267f0dd65ab779c76 /gnome-base/libgtop
parentVersion 3.0 of PyQT only supports QT 3.0 in gentoo... that's the future (diff)
downloadgentoo-2-a36f88e9dbb2fe1cd241b34b8c77399607c1d964.tar.gz
gentoo-2-a36f88e9dbb2fe1cd241b34b8c77399607c1d964.tar.bz2
gentoo-2-a36f88e9dbb2fe1cd241b34b8c77399607c1d964.zip
add info dir section to libgtop.info
Diffstat (limited to 'gnome-base/libgtop')
-rw-r--r--gnome-base/libgtop/files/digest-libgtop-1.0.13-r11
-rw-r--r--gnome-base/libgtop/files/libgtop.info.diff13
-rw-r--r--gnome-base/libgtop/libgtop-1.0.13-r1.ebuild56
3 files changed, 70 insertions, 0 deletions
diff --git a/gnome-base/libgtop/files/digest-libgtop-1.0.13-r1 b/gnome-base/libgtop/files/digest-libgtop-1.0.13-r1
new file mode 100644
index 000000000000..cafe39e7050d
--- /dev/null
+++ b/gnome-base/libgtop/files/digest-libgtop-1.0.13-r1
@@ -0,0 +1 @@
+MD5 305abba436c212f50d4be28464a14452 libgtop-1.0.13.tar.gz 1060864
diff --git a/gnome-base/libgtop/files/libgtop.info.diff b/gnome-base/libgtop/files/libgtop.info.diff
new file mode 100644
index 000000000000..719175e99db8
--- /dev/null
+++ b/gnome-base/libgtop/files/libgtop.info.diff
@@ -0,0 +1,13 @@
+--- libgtop.info.orig Tue Dec 4 20:18:23 2001
++++ libgtop.info Tue Dec 4 20:21:03 2001
+@@ -22,6 +22,10 @@
+ versions, except that this permission notice may be stated in a
+ translation approved by the Free Software Foundation.
+
++INFO-DIR-SECTION LibGTop Library
++START-INFO-DIR-ENTRY
++* LibGTop: (libgtop). A library to get system specific data.
++END-INFO-DIR-ENTRY
+ 
+ File: libgtop.info, Node: Top, Next: About, Prev: (dir), Up: (dir)
+
diff --git a/gnome-base/libgtop/libgtop-1.0.13-r1.ebuild b/gnome-base/libgtop/libgtop-1.0.13-r1.ebuild
new file mode 100644
index 000000000000..f57cc0e3ed95
--- /dev/null
+++ b/gnome-base/libgtop/libgtop-1.0.13-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2000 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/gnome-base/libgtop/libgtop-1.0.13-r1.ebuild,v 1.1 2001/12/04 18:56:53 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="libgtop"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
+
+HOMEPAGE="http://www.gnome.org/"
+
+RDEPEND=">=sys-devel/bc-1.06
+ >=sys-libs/readline-4.1
+ >=gnome-base/gnome-libs-1.4.1.2-r1"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ sys-devel/perl"
+
+
+src_compile() {
+
+ local myconf
+
+ if [ -z "`use nls`" ]
+ then
+ myconf="--disable-nls"
+ fi
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --infodir=/usr/share/info \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+
+ cd ${S}/doc
+ # Add a INFO-DIR-SECTION section to the info file
+ patch <${FILESDIR}/libgtop.info.diff || die
+ cd ${S}
+
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ dodoc ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL LIBGTOP*
+ dodoc NEWS RELNOTES* README
+}
+