diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-05 01:41:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-05 01:41:14 +0000 |
commit | a904291810ba226cc8c23d9d070f1bc515758f34 (patch) | |
tree | aa008aeb47ac6dd6b8193267ba471b908a7e4f36 /media-video | |
parent | arm love (diff) | |
download | gentoo-2-a904291810ba226cc8c23d9d070f1bc515758f34.tar.gz gentoo-2-a904291810ba226cc8c23d9d070f1bc515758f34.tar.bz2 gentoo-2-a904291810ba226cc8c23d9d070f1bc515758f34.zip |
touchups and arm love
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild b/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild index f9d1274ee97b..038f1c30449c 100644 --- a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild +++ b/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild @@ -1,36 +1,31 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild,v 1.24 2005/02/20 05:11:01 gongloo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild,v 1.25 2005/08/05 01:41:14 vapier Exp $ MY_P="${PN}_v${PV}" -S="${WORKDIR}/mpeg2" DESCRIPTION="MPEG Library" HOMEPAGE="http://www.mpeg.org/" SRC_URI="ftp://ftp.mpeg.org/pub/mpeg/mssg/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="x86 ppc alpha sparc amd64 hppa mips ppc64 ia64 ppc-macos" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos ppc64 sparc x86" IUSE="" -RDEPEND="virtual/libc" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +RDEPEND="" +DEPEND=">=sys-apps/sed-4" + +S=${WORKDIR}/mpeg2 src_unpack() { unpack ${A} sed -i \ - -e "s:-O2:${CFLAGS}:" "${S}/Makefile" \ - || die "sed Makefile failed" - -} - -src_compile() { - emake || die "emake failed" + -e "s:-O2:${CFLAGS}:" \ + "${S}"/Makefile \ + || die "sed Makefile failed" } src_install() { - dobin src/mpeg2dec/mpeg2decode src/mpeg2enc/mpeg2encode \ - || die "dobin failed" + dobin src/mpeg2dec/mpeg2{de,en}code || die "dobin failed" dodoc README doc/* } |