# Copyright 1999-2008 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-r1.ebuild,v 1.3 2008/10/18 14:03:43 ranger Exp $ WANT_AUTOMAKE="1.9" 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" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd" IUSE="" 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/" }