diff options
Diffstat (limited to 'media-video/mkclean/mkclean-0.8.6-r1.ebuild')
-rw-r--r-- | media-video/mkclean/mkclean-0.8.6-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-video/mkclean/mkclean-0.8.6-r1.ebuild b/media-video/mkclean/mkclean-0.8.6-r1.ebuild new file mode 100644 index 000000000000..6774cfdf91ba --- /dev/null +++ b/media-video/mkclean/mkclean-0.8.6-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="mkclean is a command line tool to clean and optimize Matroska files" +HOMEPAGE="http://www.matroska.org/downloads/mkclean.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 -f GNUmakefile -j1 + emake -C mkclean -f mkWDclean.mak -j1 + emake -C mkclean/regression -f mkcleanreg.mak -j1 +} + +src_install() { + dobin release/*/mk*clean* + newdoc ChangeLog.txt ChangeLog + newdoc ReadMe.txt README +} |