--- /dev/null
+# ChangeLog for media-sound/mppenc
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mppenc/ChangeLog,v 1.1 2006/12/26 18:16:27 flameeyes Exp $
+
+*mppenc-1.16 (26 Dec 2006)
+
+ 26 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +mppenc-1.16.ebuild:
+ Initial import of mppenc, the evolution of musepack-tools from upstream
+ (that lost his decoding ability).
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST mppenc-1.16.tar.bz2 105569 RMD160 6e97bfc246b9db11532a628afba631883687554d SHA1 f7dc898b14e0bd954941c62435a62c23af89cb8a SHA256 f90781856ca7b6ce1ec7033321fadbcd04fe264d0349c20b49ad05f7cb2655ad
+EBUILD mppenc-1.16.ebuild 925 RMD160 6bb38745629086c2dbc673422a91dd158d5c6ba5 SHA1 f203e69bc4fb4c57bf79ac8984f74653dc118b1e SHA256 77fbacabcccc64e101122c7de84bd1a888268f2c280bdedacad24e2c0bb2c72a
+MD5 692c274c0aa5501c48cd38e50c6a640b mppenc-1.16.ebuild 925
+RMD160 6bb38745629086c2dbc673422a91dd158d5c6ba5 mppenc-1.16.ebuild 925
+SHA256 77fbacabcccc64e101122c7de84bd1a888268f2c280bdedacad24e2c0bb2c72a mppenc-1.16.ebuild 925
+MISC ChangeLog 442 RMD160 dc62c568b51ddb228e81aed1ea3ff6728b0f525a SHA1 09fae8af633163ab302ab3ec663da7471dad0bc2 SHA256 54f14b475352da7399270c6763dc397a3c0165445715fa589e4dd95d91859b0d
+MD5 a76277a24f945eb98fc8720f791215cc ChangeLog 442
+RMD160 dc62c568b51ddb228e81aed1ea3ff6728b0f525a ChangeLog 442
+SHA256 54f14b475352da7399270c6763dc397a3c0165445715fa589e4dd95d91859b0d ChangeLog 442
+MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
+SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
+MD5 af7856af377caedd785009593e838477 files/digest-mppenc-1.16 238
+RMD160 83ac696bd3bc8164897620223e5d0866ffdbfcd1 files/digest-mppenc-1.16 238
+SHA256 5502d734f3a90d54d0cca13d0ba16044c0d9caf83e2c9453c86fac0b9bd0d5e7 files/digest-mppenc-1.16 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFkWcLAiZjviIA2XgRAuFVAJ9oCCBtxXfvZJcoqZp2Cq5IhUxC6wCeNk+c
+Hh5paIcpVNf6LQBNG6DHs6Q=
+=hsjn
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 f1456141283814efcc012cfa15609bc6 mppenc-1.16.tar.bz2 105569
+RMD160 6e97bfc246b9db11532a628afba631883687554d mppenc-1.16.tar.bz2 105569
+SHA256 f90781856ca7b6ce1ec7033321fadbcd04fe264d0349c20b49ad05f7cb2655ad mppenc-1.16.tar.bz2 105569
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mppenc/mppenc-1.16.ebuild,v 1.1 2006/12/26 18:16:27 flameeyes Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="musepack audio encoder"
+HOMEPAGE="http://www.musepack.net/"
+SRC_URI="http://files.musepack.net/source/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-util/cmake-2.4"
+RDEPEND="!media-sound/musepack-tools"
+
+src_unpack() {
+ unpack ${A}
+
+ # Respect user-chosen CFLAGS
+ sed -i -e '/CMAKE_C_FLAGS/d' "${S}/CMakeLists.txt"
+}
+
+src_compile() {
+ tc-export CC CXX LD
+
+ # Upstream uses this
+ append-flags -ffast-math
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ || die "cmake failed"
+
+ emake VERBOSE="1" || die "emake failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+ dodoc Changelog
+}