# 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.5.0.1.ebuild,v 1.2 2006/07/28 14:09:53 grobian Exp $ inherit libtool 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 ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" 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/" }