blob: 5039679fb181dadee1d74680795300322d472cfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# -*- 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', '%(libdir)s/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()
|