summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mpgtx/mpgtx-1.3.1-r2.ebuild')
-rw-r--r--media-video/mpgtx/mpgtx-1.3.1-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..34f40ead518b
--- /dev/null
+++ b/media-video/mpgtx/mpgtx-1.3.1-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Command line MPEG audio/video/system file toolbox"
+SRC_URI="mirror://sourceforge/mpgtx/${P}.tar.gz"
+HOMEPAGE="http://mpgtx.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${P}-dont-ignore-cxx-flags.patch
+ tc-export CXX
+}
+
+src_configure() {
+ ./configure --parachute || die
+}
+
+src_install() {
+ dobin mpgtx
+
+ dosym mpgtx /usr/bin/mpgjoin
+ dosym mpgtx /usr/bin/mpgsplit
+ dosym mpgtx /usr/bin/mpgcat
+ dosym mpgtx /usr/bin/mpginfo
+ dosym mpgtx /usr/bin/mpgdemux
+ dosym mpgtx /usr/bin/tagmp3
+
+ doman man/mpgtx.1 man/tagmp3.1
+
+ dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgcat.1
+ dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgjoin.1
+ dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpginfo.1
+ dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgsplit.1
+ dosym /usr/share/man/man1/mpgtx.1 /usr/share/man/man1/mpgdemux.1
+
+ dodoc AUTHORS ChangeLog README TODO
+}