# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/libmp4v2-1.4.1.ebuild,v 1.22 2006/11/12 04:38:23 vapier Exp $ inherit multilib eutils DESCRIPTION="libmp4v2 extracted from mpeg4ip" HOMEPAGE="http://www.mpeg4ip.net/" SRC_URI="mirror://sourceforge/mpeg4ip/mpeg4ip-${PV}.tar.gz" LICENSE="MPL-1.1" SLOT="0" IUSE="" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86" DEPEND="" RDEPEND="!:' \ ${D}/usr/include/mp4.h || die "sed failed" dodir /usr/include/libmp4v2 cp ${S}/include/mpeg4ip.h ${D}/usr/include/libmp4v2/ sed -i -e 's:mpeg4ip_config.h:libmp4v2/mpeg4ip_config.h:' \ -e 's:"mpeg4ip_version.h"::' \ ${D}/usr/include/libmp4v2/mpeg4ip.h || die "sed failed" cp ${S}/include/mpeg4ip_version.h ${D}/usr/include/libmp4v2/ cp ${S}/mpeg4ip_config.h ${D}/usr/include/libmp4v2/ }