dvdimagecmp-0.3-r1.ebuild 689 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils toolchain-funcs flag-o-matic
  4. IUSE=""
  5. DESCRIPTION="Tool to compare a burned DVD with an image to check for errors"
  6. HOMEPAGE="http://panteltje.com/panteltje/dvd/"
  7. SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ~ppc x86"
  11. src_unpack() {
  12. unpack ${A}
  13. cd "${S}"
  14. epatch "${FILESDIR}/${P}.diff"
  15. }
  16. src_compile() {
  17. append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
  18. emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
  19. }
  20. src_install() {
  21. dobin dvdimagecmp
  22. dodoc CHANGES README
  23. }