You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/musepack-tools/musepack-tools-444-r1.ebuild

35 lines
976 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/musepack-tools/musepack-tools-444-r1.ebuild,v 1.1 2010/03/05 22:49:54 ssuominen Exp $
inherit cmake-utils
# svn co http://svn.musepack.net/libmpc/trunk musepack-tools-${PV}
# tar -cjf musepack-tools-${PV}.tar.bz2 musepack-tools-${PV}
DESCRIPTION="Musepack SV8 libraries and utilities"
HOMEPAGE="http://www.musepack.net"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="BSD LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-fbsd"
IUSE=""
DEPEND=">=media-libs/libcuefile-${PV}
>=media-libs/libreplaygain-${PV}
!media-libs/libmpcdec
!media-libs/libmpcdecsv7"
PATCHES=( "${FILESDIR}/${P}-gentoo.patch" )
pkg_setup() {
mycmakeargs="-DSHARED=ON"
}
src_install() {
cmake-utils_src_install
# Forgot to remove .svn directories from snapshot.
rm -rf "${D}"/usr/include/mpc/.svn || die "rm -rf failed"
}