[buildout]
extends =
  ../xz-utils/buildout.cfg
  ../libtirpc/buildout.cfg

[libnsl]
recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/thkukuk/libnsl/releases/download/v1.3.0/libnsl-1.3.0.tar.xz
md5sum = 9214f674bd0c2bcfdd6c1da0cadb061f
make-options = 
  CFLAGS=-I${libtirpc:location}/include/tirpc
  LDFLAGS='-L${libtirpc:location}/lib -Wl,-rpath=${libtirpc:location}/lib -ltirpc'
environment =
  PATH=${xz-utils:location}/bin:%(PATH)s
