summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-02-04 15:28:23 +0000
committerSamuli Suominen <drac@gentoo.org>2007-02-04 15:28:23 +0000
commitea29a237c3856ccc4ffcfd6aea392ca78781410c (patch)
treee72e91550c80fc0b836c63a6cf11e9754e82e89e /media-libs/gle/gle-3.1.0-r1.ebuild
parentAdd myself as maintainer. (diff)
downloadgentoo-2-ea29a237c3856ccc4ffcfd6aea392ca78781410c.tar.gz
gentoo-2-ea29a237c3856ccc4ffcfd6aea392ca78781410c.tar.bz2
gentoo-2-ea29a237c3856ccc4ffcfd6aea392ca78781410c.zip
Remove empty lines and deprecated comments. Clean up.
(Portage version: 2.1.2-r7)
Diffstat (limited to 'media-libs/gle/gle-3.1.0-r1.ebuild')
-rw-r--r--media-libs/gle/gle-3.1.0-r1.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/media-libs/gle/gle-3.1.0-r1.ebuild b/media-libs/gle/gle-3.1.0-r1.ebuild
index 7d881c178ac7..4ad40f4de0cb 100644
--- a/media-libs/gle/gle-3.1.0-r1.ebuild
+++ b/media-libs/gle/gle-3.1.0-r1.ebuild
@@ -1,14 +1,12 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.1.0-r1.ebuild,v 1.6 2007/01/26 09:40:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.1.0-r1.ebuild,v 1.7 2007/02/04 15:28:23 drac Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.4"
inherit autotools multilib
-# Using method from media-libs/mesa.
-
DESCRIPTION="GL extrusion library"
HOMEPAGE="http://www.linas.org/gle"
SRC_URI="http://www.linas.org/gle/pub/${P}.tar.gz"
@@ -28,29 +26,28 @@ src_unpack() {
cd "${S}"
# Replace inclusion of malloc.h with stdlib.h as needed by Mac OS X and
- # FreeBSD. See bug #130340.
+ # FreeBSD. See bug #130340
sed -i -e 's:malloc.h:stdlib.h:g' src/*
- # Don't build binary examples as they never get installed. See bug 141859.
+ # Don't build binary examples as they never get installed. See bug 141859
sed -i -e 's:examples::' Makefile.am
+
eautoreconf
}
src_compile() {
- econf --with-x \
- --x-libraries=/usr/$(get_libdir)/opengl/xorg-x11 \
- || die "econf failed."
+ econf --with-x --x-libraries=/usr/$(get_libdir)/opengl/xorg-x11 || die "econf failed"
if use doc; then
sed -i -e 's:\$(datadir)/doc/gle:\$(datadir)/doc/${PF}:' doc/Makefile
sed -i -e 's:\$(datadir)/doc/gle/html:\$(datadir)/doc/${PF}/html:' doc/html/Makefile
fi
- emake || die "emake failed."
+ emake || die "emake failed"
}
src_install() {
- emake -j1 DESTDIR="${D}" install || die "make install failed."
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README
- rm -rf "${D}/usr/share/doc/gle"
+ rm -rf "${D}"/usr/share/doc/gle
}