blob: 5dfd3cc2bfb6ada960097291ec179f94251d04a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.tools.libtool import LibtoolLibrary
class Recipe(recipe.Recipe):
name = 'libxml2'
version = '2.11.6'
stype = SourceType.TARBALL
btype = BuildType.MESON
url = 'gnome://'
tarball_checksum = 'c90eee7506764abbe07bb616b82da452529609815aefef423d66ef080eb0c300'
licenses = [{License.MIT: ['Copyright']}]
deps = [ 'zlib' ]
patches = [
f'{name}/0001-Add-Meson-build.patch',
]
files_libs = ['libxml2']
files_devel = ['include/libxml2', '%(libdir)s/pkgconfig/libxml-2.0.pc', 'bin/xmllint%(bext)s']
def post_install(self):
LibtoolLibrary(self.name, 2, 11, 6,
self.config.libdir, self.config.target_platform,
deps=['z'],
static_only=self.library_type == LibraryType.STATIC).save()
super().post_install()
|