# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'libffi' version = '3.2.9999' remotes = {'origin': 'https://gitlab.freedesktop.org/gstreamer/meson-ports/{0}.git'.format(name)} commit = 'meson-3.2.9999.3' licenses = [{License.BSD_like: ['LICENSE']}] btype = BuildType.MESON files_libs = ['libffi'] files_devel = ['include/ffi*.h', 'lib/pkgconfig/libffi.pc'] def post_install(self): libtool_la = LibtoolLibrary('ffi', 7, None, None, self.config.libdir, self.config.target_platform) libtool_la.save() super().post_install()