[DEV] update lutin naming
This commit is contained in:
parent
5f2ae21798
commit
b12dde7668
@ -1,16 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
import lutinModule
|
||||
import lutinTools
|
||||
import lutinModule as module
|
||||
import lutinTools as tools
|
||||
|
||||
def Create(target):
|
||||
myModule = lutinModule.module(__file__, 'exml', 'LIBRARY')
|
||||
def get_desc():
|
||||
return "e-xml XML parser and generator"
|
||||
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'exml', 'LIBRARY')
|
||||
|
||||
myModule.AddModuleDepend(['etk'])
|
||||
myModule.add_module_depend(['etk'])
|
||||
|
||||
# add extra compilation flags :
|
||||
myModule.add_extra_compile_flags()
|
||||
# add sources files
|
||||
myModule.AddSrcFile([
|
||||
myModule.add_src_file([
|
||||
'exml/debug.cpp',
|
||||
'exml/Attribute.cpp',
|
||||
'exml/AttributeList.cpp',
|
||||
@ -21,7 +25,7 @@ def Create(target):
|
||||
'exml/Node.cpp',
|
||||
'exml/Text.cpp'])
|
||||
|
||||
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
@ -1,30 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
import lutinModule
|
||||
import lutinTools
|
||||
import lutinModule as module
|
||||
import lutinTools as tools
|
||||
import datetime
|
||||
|
||||
def Create(target):
|
||||
def get_desc():
|
||||
return "e-xml test software"
|
||||
|
||||
|
||||
def create(target):
|
||||
# module name is 'edn' and type binary.
|
||||
myModule = lutinModule.module(__file__, 'exmltest', 'BINARY')
|
||||
myModule = module.Module(__file__, 'exmltest', 'BINARY')
|
||||
|
||||
# add the file to compile:
|
||||
myModule.AddSrcFile([
|
||||
myModule.add_src_file([
|
||||
'exml/test.cpp'])
|
||||
|
||||
myModule.AddModuleDepend(['exml'])
|
||||
myModule.add_module_depend(['exml'])
|
||||
|
||||
now = datetime.datetime.now()
|
||||
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
|
||||
|
||||
# set the package properties :
|
||||
myModule.pkgSet("VERSION", versionID)
|
||||
myModule.pkgSet("COMPAGNY_TYPE", "org")
|
||||
myModule.pkgSet("COMPAGNY_NAME", "Edouard DUPIN")
|
||||
myModule.pkgSet("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
||||
myModule.pkgSet("SECTION", ["Development"])
|
||||
myModule.pkgSet("PRIORITY", "optional")
|
||||
myModule.pkgSet("DESCRIPTION", "E_xml tester soft")
|
||||
myModule.pkgSet("NAME", "exml_tester")
|
||||
myModule.pkg_set("VERSION", versionID)
|
||||
myModule.pkg_set("COMPAGNY_TYPE", "org")
|
||||
myModule.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
|
||||
myModule.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
||||
myModule.pkg_set("SECTION", ["Development"])
|
||||
myModule.pkg_set("PRIORITY", "optional")
|
||||
myModule.pkg_set("DESCRIPTION", "E_xml tester soft")
|
||||
myModule.pkg_set("NAME", "exml_tester")
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
@ -2,6 +2,9 @@
|
||||
import monkModule as module
|
||||
import monkTools as tools
|
||||
|
||||
def get_desc():
|
||||
return "e-xml XML parser and generator"
|
||||
|
||||
def create():
|
||||
# module name is 'edn' and type binary.
|
||||
myModule = module.Module(__file__, 'exml', 'LIBRARY')
|
||||
@ -11,5 +14,3 @@ def create():
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
||||
def get_desc():
|
||||
return ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user