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

Contents of /media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 22 23:55:50 2011 UTC (3 years, 11 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +5 -2 lines
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-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-0.0.1.ebuild,v 1.3 2007/11/27 11:55:55 zzam Exp $
4
5 EAPI="2"
6
7 REQUANT="M2VRequantizer"
8 REQUANT_VN="20030925"
9 JAU_FILE="repackmpeg2-v0.9"
10
11 DESCRIPTION="Tool to requantize/shrink mpeg2 videos"
12 HOMEPAGE="http://www.jausoft.com"
13 SRC_URI="mirror://vdrfiles/requant/${JAU_FILE}.tar.bz2"
14
15 KEYWORDS="x86 ~amd64"
16 SLOT="0"
17 LICENSE="GPL-2"
18 IUSE=""
19
20 DEPEND=""
21 RDEPEND="${DEPEND}"
22
23 S=${WORKDIR}/${JAU_FILE}
24
25 src_unpack() {
26 unpack ${A}
27 tar xjf "${S}"/${REQUANT}-${REQUANT_VN}.tar.bz2
28 }
29
30 src_compile() {
31
32 cd "${WORKDIR}/${REQUANT}-${REQUANT_VN}/src"
33 gcc -c ${CFLAGS} main.c -o requant.o
34 gcc ${CFLAGS} ${LDFLAGS} requant.o -o requant -lm
35 }
36
37 src_install() {
38
39 dobin "${WORKDIR}/${REQUANT}-${REQUANT_VN}/src/requant"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20