buildout.cfg 668 Bytes
Newer Older
1
[buildout]
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
2 3 4
extends =
  ../patch/buildout.cfg

5 6 7 8 9
parts =
  libffi

[libffi]
recipe = slapos.recipe.cmmi
10
shared = true
11
version = 3.2.1
12
url = ftp://sourceware.org/pub/libffi/libffi-${:version}.tar.gz
13
md5sum = 83b89587607e3eb65c70d361f13bab43
14
location = @@LOCATION@@
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
15 16 17
patch-options = -p1
patches =
  ${:_profile_base_location_}/includedir.diff#e430307d16a0d215a24ec2acff23d184
18 19
configure-options =
  --disable-static
20 21
  --enable-portable-binary
  --with-gcc-arch=generic
22 23 24
# on x86_64 OpenSuse, libraries are installed under parts/libffi/lib64.
make-targets =
  install && cp -av ${:location}/lib64/* ${:location}/lib/ || true
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
25 26
environment =
  PATH=${patch:location}/bin:%(PATH)s