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
commit6407e790a4555f73ce1d12456495dfe22e8a5d99 (patch)
tree7aed08ccda927628e903885ee4d18e9dc30bff52 /media-video/mpeg2vidcodec
parentcleanup (diff)
downloadgentoo-2-6407e790a4555f73ce1d12456495dfe22e8a5d99.tar.gz
gentoo-2-6407e790a4555f73ce1d12456495dfe22e8a5d99.tar.bz2
gentoo-2-6407e790a4555f73ce1d12456495dfe22e8a5d99.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/*
}
-