--- libquicktime-1.2.3.ebuild 2011-07-05 23:37:10.000000000 +0200 +++ libquicktime-1.2.3.ebuild.new 2011-09-04 12:52:25.505999517 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.2.3.ebuild,v 1.1 2011/07/05 21:37:10 aballier Exp $ -EAPI=1 +EAPI=4 inherit libtool eutils @@ -49,15 +49,12 @@ S=${WORKDIR}/${MY_P} -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { # Needed for sane .so versionning on g/fbsd elibtoolize } -src_compile() { +src_configure() { local MY_OPTS="" if use !encode || use !aac; then MY_OPTS="--without-faac" @@ -82,14 +79,11 @@ $(use_with opengl) \ $(use_with schroedinger) \ ${MY_OPTS} \ - --without-cpuflags || die "econf failed" - - emake || die "emake failed" + --without-cpuflags } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - + default dodoc README TODO ChangeLog # Compatibility with software that uses quicktime prefix, but # don't do that when building for Darwin/MacOS