/[gentoo-x86]/media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild
Gentoo

Contents of /media-video/m2vrequantizer/m2vrequantizer-0.0.2_pre20060306.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jan 22 23:55:50 2011 UTC (3 years, 2 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
eapi=2; LDFLAGS wrt #337882; moved 2060306 to 0.0.2_pre20060306 to fix versionsconflict, wrt #198960

(Portage version: 2.1.9.25/cvs/Linux i686, RepoMan options: --force)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.8 2008/11/09 15:20:41 maekke Exp $
4
5 EAPI="2"
6
7 MY_P="${PN/m2vr/M2VR}-20060306"
8
9 DESCRIPTION="Tool to requantize mpeg2 videos"
10 HOMEPAGE="http://www.metakine.com/products/dvdremaster/modules.html"
11 SRC_URI="mirror://vdrfiles/requant/${MY_P}.tgz"
12
13 KEYWORDS="~amd64 x86"
14 SLOT="0"
15 LICENSE="GPL-2"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND="${DEPEND}"
20
21 S=${WORKDIR}/M2VRequantiser
22
23 src_prepare() {
24
25 sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c
26 }
27
28 src_compile() {
29
30 gcc -c ${CFLAGS} main.c -o requant.o
31 gcc ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm
32 }
33
34 src_install() {
35
36 dobin requant
37 }

  ViewVC Help
Powered by ViewVC 1.1.20