Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 157531 | Differences between
and this patch

Collapse All | Expand All

(-)mpgtx-1.3.1.ebuild (-13 / +16 lines)
Lines 14-41 Link Here
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
15
16
DEPEND=""
16
DEPEND=""
17
RDEPEND=""
18
19
src_unpack () {
20
	unpack ${A}
21
	cd "${S}"
22
23
	epatch ${FILESDIR}/${P}-configure.patch
24
}
17
25
18
src_compile() {
26
src_compile() {
27
	tc-export CXX
19
	./configure --parachute --prefix=/usr
28
	./configure --parachute --prefix=/usr
20
29
21
	if [ "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -ge "4" ] || \
22
	[ "$(gcc-major-version)" -ge "4" ]; then
23
		sed -i "s:-O3:-O3 -fno-unit-at-a-time:" Makefile
24
	fi
25
26
	emake || die "emake failed"
30
	emake || die "emake failed"
27
}
31
}
28
32
29
src_install() {
33
src_install() {
30
	exeinto /usr/bin
34
	dobin mpgtx
31
	doexe mpgtx
32
35
33
	dosym /usr/bin/mpgtx /usr/bin/mpgjoin
36
	dosym mpgtx /usr/bin/mpgjoin
34
	dosym /usr/bin/mpgtx /usr/bin/mpgsplit
37
	dosym mpgtx /usr/bin/mpgsplit
35
	dosym /usr/bin/mpgtx /usr/bin/mpgcat
38
	dosym mpgtx /usr/bin/mpgcat
36
	dosym /usr/bin/mpgtx /usr/bin/mpginfo
39
	dosym mpgtx /usr/bin/mpginfo
37
	dosym /usr/bin/mpgtx /usr/bin/mpgdemux
40
	dosym mpgtx /usr/bin/mpgdemux
38
	dosym /usr/bin/mpgtx /usr/bin/tagmp3
41
	dosym mpgtx /usr/bin/tagmp3
39
42
40
	doman man/mpgtx.1 man/tagmp3.1
43
	doman man/mpgtx.1 man/tagmp3.1
41
44

Return to bug 157531