~ubuntu-branches/ubuntu/trusty/ldb/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/tevent/wscript

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-02-07 16:04:26 UTC
  • mfrom: (1.3.11)
  • Revision ID: package-import@ubuntu.com-20120207160426-hz17vq8gs1epwkf2
Tags: 1:1.1.4+git20120206-1
* New upstream snapshot.
 + Extracts waf source code. Closes: #654482
 + Disable tdb2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                          pc_files='tevent.pc',
93
93
                          private_library=private_library)
94
94
 
95
 
    if not bld.CONFIG_SET('USING_SYSTEM_PYTDB'):
 
95
    if not bld.CONFIG_SET('USING_SYSTEM_PYTEVENT'):
96
96
        bld.SAMBA_PYTHON('pytevent',
97
97
                         'pytevent.c',
98
98
                         deps='tevent',
99
 
                         realname='_tevent.so')
 
99
                         realname='_tevent.so',
 
100
                         cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
 
101
        # install out various python scripts for use by make test
 
102
        bld.SAMBA_SCRIPT('tevent_python',
 
103
                         pattern='tevent.py',
 
104
                         installdir='python')
 
105
 
 
106
        bld.INSTALL_WILDCARD('${PYTHONDIR}', 'tevent.py', flat=False)
100
107
 
101
108
 
102
109
def test(ctx):