summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2004-05-09 18:37:38 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2004-05-09 18:37:38 +0000
commitd7d3b41cb3efda0804156b67b7b6cbe78fc426a9 (patch)
treee472ca722e767f75c8ef8eae04d197d74fcc622f /x11-libs/gai/gai-0.5.3.ebuild
parentStable on x86, alpha and ppc. Don't assign default to S (Manifest recommit) (diff)
downloadgentoo-2-d7d3b41cb3efda0804156b67b7b6cbe78fc426a9.tar.gz
gentoo-2-d7d3b41cb3efda0804156b67b7b6cbe78fc426a9.tar.bz2
gentoo-2-d7d3b41cb3efda0804156b67b7b6cbe78fc426a9.zip
version bump (Bug #49950)
Diffstat (limited to 'x11-libs/gai/gai-0.5.3.ebuild')
-rw-r--r--x11-libs/gai/gai-0.5.3.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-libs/gai/gai-0.5.3.ebuild b/x11-libs/gai/gai-0.5.3.ebuild
new file mode 100644
index 000000000000..e0f002af8381
--- /dev/null
+++ b/x11-libs/gai/gai-0.5.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/gai-0.5.3.ebuild,v 1.1 2004/05/09 18:37:38 lordvan Exp $
+
+IUSE="opengl gnome"
+
+MY_P=${P/_/}
+DESCRIPTION="GAI, The General Applet Interface library is a library that will help applet programmers alot."
+HOMEPAGE="http://gai.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gai/${MY_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86"
+
+DEPEND=">=x11-libs/gtk+-2.0.0
+ opengl? ( >=x11-libs/gtkglext-1.0.5 )
+ gnome? ( >=gnome-base/gnome-panel-2.0.0 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ # works with just set prefix (doesn't hardcode the prefix anywhere)!
+ local myconf
+
+ # Someone please tell upstream that the way to enable/disable things in
+ # configure scripts should be bloody well consistent -- it's in poor taste
+ # and downright incompetent to have to use --with if you want something
+ # and --disable if you don't
+
+ use opengl \
+ && myconf="${myconf} --with-gl" \
+ || myconf="${myconf} --disable-gl"
+
+ use gnome \
+ && myconf="${myconf} --with-gnome" \
+ || myconf="${myconf} --disable-gnome"
+
+ econf \
+ --prefix=${D}/usr \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS BUGS COPYING.LIB ChangeLog INSTALL README \
+ README.gai THANKS TODO WINDOWMANAGERS
+ dohtml ${S}/docs/*
+ # install examples
+ cp -r ${S}/examples ${D}/usr/share/doc/${P}
+}