bbtools-1.9.ebuild 783 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit eutils flag-o-matic toolchain-funcs
  5. DESCRIPTION="bbdmux, bbinfo, bbvinfo and bbainfo from Brent Beyeler"
  6. HOMEPAGE="http://members.cox.net/beyeler/bbmpeg.html"
  7. SRC_URI="http://files.digital-digest.com/downloads/files/encode/bbtool${PV/./}_src.zip"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~x86"
  11. IUSE=""
  12. DEPEND="app-arch/unzip"
  13. S=${WORKDIR}
  14. src_prepare() {
  15. mv BBINFO.cpp bbinfo.cpp || die
  16. mv BITS.CPP bits.cpp || die
  17. mv BITS.H bits.h || die
  18. mv bbdmux.CPP bbdmux.cpp || die
  19. rm *.ide
  20. edos2unix *.cpp *.h
  21. epatch "${FILESDIR}"/bbtools-${PV}-gentoo.patch
  22. append-lfs-flags
  23. tc-export CXX
  24. }
  25. src_install() {
  26. dobin bbainfo bbdmux bbinfo bbvinfo
  27. }