super_demux-0.3.ebuild 654 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="2"
  4. inherit eutils toolchain-funcs flag-o-matic
  5. IUSE=""
  6. DESCRIPTION="DVB transport stream TS to ES demultiplexer"
  7. HOMEPAGE="http://panteltje.com/panteltje/dvd/"
  8. SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~x86"
  12. src_prepare() {
  13. epatch "${FILESDIR}/${P}.diff"
  14. }
  15. src_compile() {
  16. append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
  17. emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
  18. }
  19. src_install() {
  20. dobin super_demux
  21. dodoc CHANGES README
  22. }