buildout.cfg 1.08 KB
Newer Older
1 2 3 4 5
# libdmtx - open source software for reading and writing Data Matrix barcodes.
# http://www.libdmtx.org/

[buildout]
extends =
6
  ../bzip2/buildout.cfg
7 8
  ../imagemagick/buildout.cfg
  ../jbigkit/buildout.cfg
9
  ../patch/buildout.cfg
10
  ../zlib/buildout.cfg
11 12 13 14 15
parts =
  libdmtx
  dmtx-utils

[libdmtx]
16
recipe = slapos.recipe.cmmi
17 18 19 20 21 22
url = http://prdownloads.sourceforge.net/libdmtx/libdmtx-0.7.4.tar.bz2
md5sum = d3a4c0becd92895eb606dbdb78b023e2
configure-options =
  --disable-static

[dmtx-utils]
23
recipe = slapos.recipe.cmmi
24 25 26 27
url = http://prdownloads.sourceforge.net/libdmtx/dmtx-utils-0.7.4.tar.bz2
md5sum = b132ab9fb1d289869469b8bb4959a08a
configure-options =
  --disable-static
28 29 30
patch-options = -p1
patches =
  ${:_profile_base_location_}/imagemagick-7.patch#e0ec31041be5a4f3551ab84696671110
31
environment =
32
  PATH=${patch:location}/bin:${pkgconfig:location}/bin:%(PATH)s
33 34
  PKG_CONFIG_PATH=${imagemagick:location}/lib/pkgconfig:${libdmtx:location}/lib/pkgconfig
  CPPFLAGS=-I${libdmtx:location}/include
35
  LDFLAGS=-Wl,-rpath=${jbigkit:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${zlib:location}/lib