# File - Determines file type using "magic" numbers
# http://www.darwinsys.com/file/

[buildout]
parts = file
extends =
  ../bzip2/buildout.cfg
  ../xz-utils/buildout.cfg
  ../zlib/buildout.cfg

[file]
recipe = slapos.recipe.cmmi
shared = true
url = http://ftp.icm.edu.pl/packages/file/file-5.39.tar.gz
md5sum = 1c450306053622803a25647d88f80f25
configure-options =
  --disable-static
  --disable-libseccomp
  --enable-zlib
  --enable-bzlib
  --enable-xzlib
environment =
  CPPFLAGS=-I${bzip2:location}/include -I${xz-utils:location}/include -I${zlib:location}/include
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
