blob: 96e77083e08bab7a207ef66b020005f6c4b32cb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.tools.libtool import LibtoolLibrary
class Recipe(recipe.Recipe):
name = 'proxy-libintl'
version = '0.1'
licenses = [License.LGPLv2_1]
stype = SourceType.TARBALL
btype = BuildType.MESON
url = 'https://github.com/frida/proxy-libintl/archive/%(version)s.tar.gz'
patches = [name + '/0001-libintl.h-Fix-detection-with-AM_GNU_GETTEXT.patch',
name + '/0001-meson-Use-same-library-versioning-on-macOS-as-gettex.patch',]
files_libs = ['libintl']
files_devel = [
'include/libintl.h',
'lib/libintl.la'
]
def post_install(self):
libtool_la = LibtoolLibrary('intl', 8, None, None, self.config.libdir,
self.config.target_platform)
libtool_la.save()
|