blob: 3bf0a5ee7e06faf54022ad5731e4196d877a5079 (
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', 'lib/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()
|