source: websoy/wscript @ 108:59771aa407c0

Revision 108:59771aa407c0, 1.7 KB checked in by Arc Riley <arcriley@…>, 6 years ago (diff)

Updated copyright for 2014 - Happy New Year!

Line 
1#! /usr/bin/env python3
2# encoding: utf-8
3
4NAME = 'websoy'
5DATE = 'unreleased'
6VERSION = '1.0_beta3'
7WEBSITE = 'http://www.pysoy.org/'
8LICENSE = '''
9    PySoy Web Browser Client
10    Copyright (C) 2006-2014 Copyleft Games Group
11
12    This program is free software: you can redistribute it and/or modify
13    it under the terms of the GNU Affero General Public License as published by
14    the Free Software Foundation, either version 3 of the License, or
15    (at your option) any later version.
16
17    This program is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20    GNU Affero General Public License for more details.
21
22    You should have received a copy of the GNU Affero General Public License
23    along with this program.  If not, see <http://www.gnu.org/licenses/>.
24'''
25
26top = '.'
27out = 'build'
28
29def options(opt) :
30    opt.load('compiler_c')
31
32def configure(conf) :
33    # Check for gcc and valac
34   
35    conf.env.PREFIX = '/usr'
36   
37    conf.load('compiler_c genie')
38
39    conf.check_cfg(package='gl', uselib_store='GL', mandatory=True,
40                   args='--cflags --libs')
41
42    conf.check_cfg(package='soy-1', uselib_store='SOY', mandatory=True,
43                   args='--cflags --libs')
44
45    if not conf.check_cfg(package='npapi-sdk', uselib_store='NPAPI',
46                          mandatory=False, args='--cflags --libs') :
47        conf.check_cfg(package='mozilla-plugin', uselib_store='NPAPI',
48                       mandatory=True, args='--cflags --libs')
49
50    conf.env['PACKAGE'] = 'websoy'
51    from platform import system; conf.env[system().upper()] = 1
52
53def build(bld) :
54    bld.recurse('src')
55
Note: See TracBrowser for help on using the repository browser.