summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mkvalidator/mkvalidator-0.4.0.ebuild')
-rw-r--r--media-video/mkvalidator/mkvalidator-0.4.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/media-video/mkvalidator/mkvalidator-0.4.0.ebuild b/media-video/mkvalidator/mkvalidator-0.4.0.ebuild
new file mode 100644
index 000000000000..4f3ec31c51f8
--- /dev/null
+++ b/media-video/mkvalidator/mkvalidator-0.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mkvalidator/mkvalidator-0.4.0.ebuild,v 1.1 2012/06/12 21:41:27 sbriesen Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="mkvalidator is a command line tool to verify Matroska files for spec conformance"
+HOMEPAGE="http://www.matroska.org/downloads/mkvalidator.html"
+SRC_URI="http://downloads.sourceforge.net/project/matroska/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ ./configure # non-standard configure
+
+ # fixing generated makefiles
+ sed -i -e 's|^\(LFLAGS.*+=.*\$(LIBS)\)|\1 \$(LDFLAGS)|g' \
+ -e 's|^\(STRIP.*=\)|\1 echo|g' $(find -name "*.mak")
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ dobin release/*/mkv*
+ newdoc ChangeLog.txt ChangeLog
+ newdoc ReadMe.txt README
+}