diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-09-25 10:55:52 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-09-25 10:55:52 +0000 |
commit | a9e37d8d669a4b480505961c2def2e12becf3434 (patch) | |
tree | 3840e852c358309a3e0e76b6ec28d24313a19d35 /media-video/mkclean/mkclean-0.8.7.ebuild | |
parent | Die on sed failure too. (diff) | |
download | gentoo-2-a9e37d8d669a4b480505961c2def2e12becf3434.tar.gz gentoo-2-a9e37d8d669a4b480505961c2def2e12becf3434.tar.bz2 gentoo-2-a9e37d8d669a4b480505961c2def2e12becf3434.zip |
Version bump.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mkclean/mkclean-0.8.7.ebuild')
-rw-r--r-- | media-video/mkclean/mkclean-0.8.7.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-video/mkclean/mkclean-0.8.7.ebuild b/media-video/mkclean/mkclean-0.8.7.ebuild new file mode 100644 index 000000000000..998bcd243760 --- /dev/null +++ b/media-video/mkclean/mkclean-0.8.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mkclean/mkclean-0.8.7.ebuild,v 1.1 2012/09/25 10:55:52 radhermit Exp $ + +EAPI=4 + +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="" + +src_configure() { + # non-standard configure + ./configure || die + + # fixing generated makefiles + sed -i -e 's|^\(LFLAGS.*+=.*\$(LIBS)\)|\1 \$(LDFLAGS)|g' \ + -e 's|^\(STRIP.*=\)|\1 echo|g' $(find -name "*.mak") || die +} + +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 +} |