summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-09-28 18:02:10 +0000
committerNick Hadaway <raker@gentoo.org>2002-09-28 18:02:10 +0000
commit6cb6c1b6fb8a6c023cf54319158f4ca333d9277a (patch)
tree541ec80259d5138c3ed0df90a498c2d94547a096 /media-libs/smpeg
parentFixed restart in init script. (diff)
downloadgentoo-2-6cb6c1b6fb8a6c023cf54319158f4ca333d9277a.tar.gz
gentoo-2-6cb6c1b6fb8a6c023cf54319158f4ca333d9277a.tar.bz2
gentoo-2-6cb6c1b6fb8a6c023cf54319158f4ca333d9277a.zip
Changed to econf and einstall. Exported CXX and CC to g++ to solve
gcc3 linking problems with other programs.
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r--media-libs/smpeg/ChangeLog11
-rw-r--r--media-libs/smpeg/smpeg-0.4.4-r4.ebuild20
2 files changed, 17 insertions, 14 deletions
diff --git a/media-libs/smpeg/ChangeLog b/media-libs/smpeg/ChangeLog
index 9a7fb79f113f..d1ebcdfc859b 100644
--- a/media-libs/smpeg/ChangeLog
+++ b/media-libs/smpeg/ChangeLog
@@ -1,18 +1,20 @@
# ChangeLog for media-libs/smpeg
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.7 2002/08/22 06:39:01 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.8 2002/09/28 18:02:10 raker Exp $
*smpeg-0.4.4-r4 (22 Aug 2002)
+ 28 Sep 2002; Nick Hadaway <raker@gentoo.org> smpeg-0.4.4-r4.ebuild :
+ Changed to econf and einstall. Exported CXX and CC to g++ to solve
+ gcc3 linking problems with other programs.
+
22 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org>
smpeg-0.4.4-r4.ebuild, files/digest-smpeg-0.4.4-r4, ChangeLog :
-
Fixed linker error bug. Resolves bug 4666.
*smpeg-0.4.4-r3 (03 Aug 2002)
03 Aug 2002; Doug Goldstein <cardoe@gentoo.org> smpeg-0.4.4-r3.ebuild :
-
Fixed gcc-3.1 support. (No ppc KEYWORD yet)
Bug #5558 Olivier Crete <tester@videotron.ca> posted the patch from Redhat.
This patch doesn't work for gcc-2.95 systems so we're not applying it for non-gcc-3.x
@@ -23,18 +25,15 @@
Added ppc to keywords
5 Apr 2002; M.Schlemmer <azarah@gentoo.org> smpeg-0.4.4-r2.ebuild :
-
gcc-3 fixes by PreZ.
3 Feb 2002; M.Schlemmer <azarah@gentoo.org> smpeg-0.4.4-r2.ebuild :
-
'--enable-mmx' causes test apps to crash on startup. Disable this for now.
Resolves bug #470. Some form fixes.
*smpeg-0.4.4-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
diff --git a/media-libs/smpeg/smpeg-0.4.4-r4.ebuild b/media-libs/smpeg/smpeg-0.4.4-r4.ebuild
index 75870a6fe340..2c3358710bf1 100644
--- a/media-libs/smpeg/smpeg-0.4.4-r4.ebuild
+++ b/media-libs/smpeg/smpeg-0.4.4-r4.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r4.ebuild,v 1.1 2002/08/22 06:39:01 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r4.ebuild,v 1.2 2002/09/28 18:02:10 raker Exp $
S=${WORKDIR}/${P}
+
DESCRIPTION="SDL MPEG Player Library"
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz"
HOMEPAGE="http://www.lokigames.com/development/smpeg.php3"
@@ -14,6 +15,7 @@ KEYWORDS="x86 sparc sparc64"
DEPEND=">=media-libs/libsdl-1.2.0
opengl? ( virtual/opengl virtual/glu )
gtk? ( =x11-libs/gtk+-1.2* )"
+RDEPEND="${DEPEND}"
src_unpack() {
@@ -45,19 +47,21 @@ src_compile() {
if [ -z "`use opengl`" ] ; then
myconf="${myconf} --disable-opengl-player"
fi
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- ${myconf} || die
+
+ export CC=g++
+ export CXX=g++
+
+ econf ${myconf} || die "configure failed"
- emake CC=g++ || die
+ emake || die "parallel make failed"
+
}
src_install () {
- make DESTDIR=${D} install || die
+ einstall || die "make install failed"
dodoc CHANGES COPYING README* TODO
+
}