summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-07-20 10:00:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-07-20 10:00:42 +0000
commitfb3a3801052fd3c1c773dedf673fdcde53e0847f (patch)
tree87dc53e1d4d1ee4d9de094e2bf9d1bc047d7f816 /media-libs/cal3d
parentRevision bump to create stable candidate. (diff)
downloadgentoo-2-fb3a3801052fd3c1c773dedf673fdcde53e0847f.tar.gz
gentoo-2-fb3a3801052fd3c1c773dedf673fdcde53e0847f.tar.bz2
gentoo-2-fb3a3801052fd3c1c773dedf673fdcde53e0847f.zip
EAPI=2, cleanup
(Portage version: 2.1.10.7/cvs/Linux i686)
Diffstat (limited to 'media-libs/cal3d')
-rw-r--r--media-libs/cal3d/ChangeLog8
-rw-r--r--media-libs/cal3d/cal3d-0.11.0-r1.ebuild30
-rw-r--r--media-libs/cal3d/files/cal3d-0.11.0_pre20050823-libtool-compat.patch10
3 files changed, 21 insertions, 27 deletions
diff --git a/media-libs/cal3d/ChangeLog b/media-libs/cal3d/ChangeLog
index 88dbf8c35e98..085a947a5ca5 100644
--- a/media-libs/cal3d/ChangeLog
+++ b/media-libs/cal3d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/cal3d
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.31 2008/11/17 21:13:09 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/ChangeLog,v 1.32 2011/07/20 10:00:41 tupone Exp $
+
+ 20 Jul 2011; Tupone Alfredo <tupone@gentoo.org> cal3d-0.11.0-r1.ebuild,
+ -files/cal3d-0.11.0_pre20050823-libtool-compat.patch:
+ EAPI=2, cleanup
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
files/cal3d-0.11.0_pre20050823-libtool-compat.patch:
diff --git a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
index d77d317711a1..ac5958217a73 100644
--- a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
+++ b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.8 2008/10/14 02:13:01 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.9 2011/07/20 10:00:41 tupone Exp $
-inherit eutils autotools
+EAPI=2
+inherit eutils base autotools
DESCRIPTION="Cal3D is a skeletal based character animation library"
HOMEPAGE="http://home.gna.org/cal3d"
@@ -19,10 +20,12 @@ DEPEND="doc? (
)"
RDEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc43.patch
+DOCS=( AUTHORS ChangeLog README TODO )
+use doc && HTML_DOCS=( docs/html/api docs/html/guide )
+PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+
+src_prepare() {
+ base_src_prepare
if use doc; then
sed -i \
-e "s:db2html:docbook2html:g" \
@@ -33,12 +36,15 @@ src_unpack() {
fi
}
-src_compile() {
+src_configure() {
econf \
$(use_enable debug) \
$(use_enable 16bit-indices) \
|| die
- emake || die
+}
+
+src_compile() {
+ base_src_compile
if use doc; then
cd docs
emake doc-api || die "Failed making doc-api"
@@ -48,9 +54,3 @@ src_compile() {
mv api/html/* html/api/
fi
}
-
-src_install() {
- dodoc AUTHORS ChangeLog README TODO
- einstall || die
- use doc && dohtml -r docs/html/*
-}
diff --git a/media-libs/cal3d/files/cal3d-0.11.0_pre20050823-libtool-compat.patch b/media-libs/cal3d/files/cal3d-0.11.0_pre20050823-libtool-compat.patch
deleted file mode 100644
index a82b316f3ffe..000000000000
--- a/media-libs/cal3d/files/cal3d-0.11.0_pre20050823-libtool-compat.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/Makefile.am 2005-03-21 02:42:51.000000000 +0200
-+++ b/Makefile.am 2005-12-19 22:37:42.000000000 +0200
-@@ -12,7 +12,6 @@
-
- INCLUDES = $(all_includes) -I$(top_srcdir)/src
-
--all_libraries = @all_libraries@
- AM_LDFLAGS = @LDFLAGS@
-
- EXTRA_DIST = cal3d.rc cal3d.dsp SConscript