dzip-2.9-r3.ebuild 652 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. DESCRIPTION="compressor/uncompressor for demo recordings from id's Quake"
  6. HOMEPAGE="http://speeddemosarchive.com/dzip/"
  7. SRC_URI="http://speeddemosarchive.com/dzip/dz${PV/./}src.zip"
  8. LICENSE="ZLIB"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc x86"
  11. IUSE=""
  12. DEPEND="app-arch/unzip"
  13. RDEPEND=""
  14. S="${WORKDIR}"
  15. src_prepare() {
  16. epatch "${FILESDIR}"/${P}-system-zlib-r2.patch
  17. epatch "${FILESDIR}"/${P}-scrub-names.patch #93079
  18. epatch "${FILESDIR}/dzip-amd64.diff"
  19. mv -f Makefile{.linux,}
  20. }
  21. src_install () {
  22. dobin dzip
  23. dodoc Readme
  24. }