summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-08-18 22:55:49 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-08-18 22:55:49 +0000
commit90d2397a7b0f0bd0a92f55f2457fa07bc3e3a53a (patch)
tree7815118ff2b10e0a4011fc92c329a986cdec2f61 /gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild
parentAdded new AxKit and deps masked (diff)
downloadgentoo-2-90d2397a7b0f0bd0a92f55f2457fa07bc3e3a53a.tar.gz
gentoo-2-90d2397a7b0f0bd0a92f55f2457fa07bc3e3a53a.tar.bz2
gentoo-2-90d2397a7b0f0bd0a92f55f2457fa07bc3e3a53a.zip
new version of gnome-libs. removed KEYWORDS for ppc sparc and sparc64
Diffstat (limited to 'gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild')
-rw-r--r--gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild86
1 files changed, 86 insertions, 0 deletions
diff --git a/gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild b/gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild
new file mode 100644
index 000000000000..fd41bd706c0c
--- /dev/null
+++ b/gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-libs/gnome-libs-1.4.2.ebuild,v 1.1 2002/08/18 22:55:49 spider Exp $
+
+
+inherit libtool
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNOME Core Libraries"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.gnome.org/"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+# ppc sparc sparc64"
+
+DEPEND=">=media-libs/imlib-1.9.10
+ >=media-sound/esound-0.2.23
+ >=gnome-base/ORBit-0.5.12
+ =x11-libs/gtk+-1.2*
+ <sys-libs/db-2
+ doc? ( app-text/docbook-sgml
+ dev-util/gtk-doc )"
+
+RDEPEND="nls? ( >=sys-devel/gettext-0.10.40 >=dev-util/intltool-0.11 )"
+
+SLOT="1"
+
+src_compile() {
+ CFLAGS="$CFLAGS -I/usr/include/db1"
+
+ local myconf
+
+ use nls || myconf="${myconf} --disable-nls"
+ use kde && myconf="${myconf} --with-kde-datadir=/usr/share"
+ use doc || myconf="${myconf} --disable-gtk-doc"
+
+ # libtoolize
+ elibtoolize
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --enable-prefer-db1 \
+ ${myconf} || die
+
+ emake || die
+
+ #do the docs (maby add a use variable or put in seperate
+ #ebuild since it is mostly developer docs?)
+ if [ -n "`use doc`" ]
+ then
+ cd ${S}/devel-docs
+ emake || die
+ cd ${S}
+ fi
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ docdir=${D}/usr/share/doc \
+ HTML_DIR=${D}/usr/share/gnome/html \
+ install || die
+
+ #do the docs
+ if [ -n "`use doc`" ]
+ then
+ cd ${S}/devel-docs
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ docdir=${D}/usr/share/doc \
+ install || die
+ cd ${S}
+ fi
+
+ rm ${D}/usr/share/gtkrc*
+
+ dodoc AUTHORS COPYING* ChangeLog README NEWS HACKING
+}
+