# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'libkate' version = '0.4.1' stype = SourceType.TARBALL url = 'https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz' licenses = [License.BSD_like] deps = ['libogg', 'libpng'] patches = ['libkate/0001-be-more-permissive-with-automake-errors-now-that-we-.patch'] files_libs = ['libkate', 'liboggkate'] files_devel = ['include/kate', 'lib/pkgconfig/kate.pc', 'lib/pkgconfig/oggkate.pc'] autoreconf = True def prepare(self): if self.config.target_distro == Distro.ARCH: self.append_env = {'LDFLAGS': '-Wl,-O1,--sort-common,--as-needed,-z,relro'}