blob: b266250bbb44b358514f69aac74e69684dfa602a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# -*- 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'}
|