# -*- 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()