summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 12:29:18 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 12:29:18 +0000
commit61e34646556c6021e97af0f666ea648fb475d767 (patch)
tree143b2d686faf9bed3bcb5f47b9a9252a6b0fe1b3 /media-video/mpeg2vidcodec
parentPPC(/sparc) fix (diff)
downloadhistorical-61e34646556c6021e97af0f666ea648fb475d767.tar.gz
historical-61e34646556c6021e97af0f666ea648fb475d767.tar.bz2
historical-61e34646556c6021e97af0f666ea648fb475d767.zip
cleanup
Diffstat (limited to 'media-video/mpeg2vidcodec')
-rw-r--r--media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild b/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild
index 9b5488b3e38b..46cdfe510da0 100644
--- a/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild
+++ b/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild,v 1.1 2001/10/06 15:30:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg2vidcodec/mpeg2vidcodec-12-r1.ebuild,v 1.2 2002/04/27 12:24:20 seemant Exp $
-P=mpeg2vidcodec_v12
-A=${P}.tar.gz
+MY_P=${PN}_v${PV}
S=${WORKDIR}/mpeg2
DESCRIPTION="MPEG Library"
-SRC_URI="ftp://ftp.mpeg.org/pub/mpeg/mssg/${A}"
+SRC_URI="ftp://ftp.mpeg.org/pub/mpeg/mssg/${MY_P}.tar.gz"
HOMEPAGE="http://www.mpeg.org"
DEPEND=">=sys-libs/glibc-2.1.3"
@@ -22,18 +21,17 @@ src_unpack () {
}
src_compile() {
- cd ${S}
- try make
+ cd ${S}
+ make || die
}
src_install () {
- cd ${S}
- into /usr
- dobin src/mpeg2dec/mpeg2decode
- dobin src/mpeg2enc/mpeg2encode
- dodoc README doc/*
+ cd ${S}
+ into /usr
+ dobin src/mpeg2dec/mpeg2decode
+ dobin src/mpeg2enc/mpeg2encode
+ dodoc README doc/*
}
-