summaryrefslogtreecommitdiff
blob: 56ebf201d74c853ac51d7f89a2ca1255ef1e1b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools eutils

DESCRIPTION="A simple MPEG-4 bitrate calculator used when ripping a DVD to achieve the ideal filesize."
HOMEPAGE="http://axllent.org/projects/divxcalc/files/"
SRC_URI="http://axllent.org/projects/${PN}/files/${P}.tar.bz2
	http://www.imagef1.net.nz/${PN}/${P}.tar.bz2
	http://mirror.dannz.net/${PN}/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="=x11-libs/qt-3*"
DEPEND="${RDEPEND}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}-build.patch"
	cp admin/acinclude.m4.in acinclude.m4
	eautoreconf
}

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc README
}