[buildout]
parts = xpdf

[xpdf]
<= xpdf-3.02

[xpdf-patch-download]
recipe = hexagonit.recipe.download
ignore-existing = true
url = ftp://ftp.foolabs.com/pub/xpdf/${:filename}
download-only = true

[xpdf-3.02pl1.patch]
<= xpdf-patch-download
filename = xpdf-3.02pl1.patch
md5sum = 877118786dfe27d1b7aa5a6759cc6e45

[xpdf-3.02pl2.patch]
<= xpdf-patch-download
filename = xpdf-3.02pl2.patch
md5sum = 3a5cb165ae66781e0b21e6219ae06795

[xpdf-3.02pl3.patch]
<= xpdf-patch-download
filename = xpdf-3.02pl3.patch
md5sum = 581963ede0fb5715e1a69f01b5b8ce63

[xpdf-3.02pl4.patch]
<= xpdf-patch-download
filename = xpdf-3.02pl4.patch
md5sum = 70b752716798dd341a4bf890df5f6fdc

[xpdf-3.02pl5.patch]
<= xpdf-patch-download
filename = xpdf-3.02pl5.patch
md5sum = 504902ca5e9d66c67eed03636ec6b163

[xpdf-3.02]
recipe = slapos.recipe.cmmi
md5sum = 599dc4cc65a07ee868cf92a667a913d2
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz
configure-options =
  --without-x
patch-options = -p1
patches =
  ${xpdf-3.02pl1.patch:location}/${xpdf-3.02pl1.patch:filename}
  ${xpdf-3.02pl2.patch:location}/${xpdf-3.02pl2.patch:filename}
  ${xpdf-3.02pl3.patch:location}/${xpdf-3.02pl3.patch:filename}
  ${xpdf-3.02pl4.patch:location}/${xpdf-3.02pl4.patch:filename}
  ${xpdf-3.02pl5.patch:location}/${xpdf-3.02pl5.patch:filename}
