# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'sqlite3' version = '3460100' stype = SourceType.TARBALL btype = BuildType.MESON url = 'https://sqlite.org/2024/sqlite-amalgamation-%(version)s.zip' tarball_dirname = 'sqlite-amalgamation-%(version)s' tarball_checksum = '77823cb110929c2bcb0f5d48e4833b5c59a8a6e40cdea3936b99e199dbbe5784' licenses = [License.PublicDomain] patches = ['sqlite3/0001-Add-meson-build-file-from-wrapdb.patch'] files_libs = ['libsqlite3'] files_devel = ['include/sqlite3.h', '%(libdir)s/pkgconfig/sqlite3.pc'] def post_install(self): libtool_la = LibtoolLibrary('sqlite3', 0, 0, 0, self.config.libdir, self.config.target_platform) libtool_la.save() super().post_install()