# 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.20 2006/07/13 14:10:48 agriffis 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 hppa ia64 ppc ppc64 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/ }