tif22pnm-0.14.ebuild 640 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit autotools eutils flag-o-matic
  5. DESCRIPTION="tif22pnm and png22pnm command-line converters"
  6. HOMEPAGE="http://pts.szit.bme.hu/ https://code.google.com/p/sam2p/"
  7. SRC_URI="https://sam2p.googlecode.com/files/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. RDEPEND=">=media-libs/libpng-1.2:0
  13. media-libs/tiff:0"
  14. DEPEND="${RDEPEND}"
  15. src_prepare() {
  16. epatch "${FILESDIR}"/${P}-gentoo.patch
  17. epatch "${FILESDIR}"/${P}-math.patch
  18. eautoreconf
  19. }
  20. src_install() {
  21. dobin png22pnm tif22pnm
  22. dodoc README
  23. }