mcp-plugins-0.4.0.ebuild 730 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit multilib toolchain-funcs
  5. MY_P=${P/mcp/MCP}
  6. DESCRIPTION="MCP ladspa plugins package. Includes moogvcf, phaser & chorus"
  7. HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
  8. SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 ~ppc x86"
  12. IUSE=""
  13. DEPEND="media-libs/ladspa-sdk"
  14. RDEPEND="${DEPEND}"
  15. S=${WORKDIR}/${MY_P}
  16. src_prepare() {
  17. tc-export CXX
  18. sed -i -e "s/-O3//" \
  19. -e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die "sed failed"
  20. }
  21. src_install() {
  22. dodoc AUTHORS README
  23. insinto /usr/$(get_libdir)/ladspa
  24. insopts -m0755
  25. doins *.so
  26. }