blob: 7421fb349a4392000f26e0fe3b1e4943e4684cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.tools.libtool import LibtoolLibrary
class Recipe(recipe.Recipe):
name = 'bzip2'
version = '1.0.8'
licenses = [{License.BSD_like: ['LICENSE']}]
stype = SourceType.TARBALL
btype = BuildType.MESON
url = 'https://sourceware.org/pub/bzip2/bzip2-%(version)s.tar.gz'
tarball_checksum = 'ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269'
patches = [name + '/add-meson-build-files.patch']
files_libs = ['libbz2']
files_devel = ['include/bzlib.h', '%(libdir)s/pkgconfig/bzip2.pc']
def post_install(self):
libtool_la = LibtoolLibrary('bz2', 1, 0, 6, self.config.libdir,
self.config.target_platform)
libtool_la.save()
super().post_install()
|