libcdaudio-0.99.12-r1.ebuild 723 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2009 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. DESCRIPTION="Library of cd audio related routines"
  5. HOMEPAGE="http://libcdaudio.sourceforge.net/"
  6. SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
  10. IUSE=""
  11. src_unpack() {
  12. unpack ${A}
  13. cd "${S}"
  14. epatch "${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch #84936
  15. epatch "${FILESDIR}"/${P}-bug245649.patch
  16. }
  17. src_compile() {
  18. econf --enable-threads
  19. emake || die "compile problem."
  20. }
  21. src_install() {
  22. emake DESTDIR="${D}" install || die "make install failed"
  23. dodoc AUTHORS ChangeLog NEWS README TODO
  24. }