37 lines
765 B
Python
37 lines
765 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
##
|
|
## @author Edouard DUPIN
|
|
##
|
|
## @copyright 2012, Edouard DUPIN, all right reserved
|
|
##
|
|
## @license APACHE v2.0 (see license file)
|
|
##
|
|
|
|
from lutin import debug
|
|
from lutin import system
|
|
from lutin import tools
|
|
import os
|
|
|
|
class System(system.System):
|
|
def __init__(self, target):
|
|
system.System.__init__(self)
|
|
# create some HELP:
|
|
self.help="rpc : generic RPC library (developed by oracle)"
|
|
# No check ==> on the basic std libs:
|
|
self.valid = True
|
|
# todo : create a searcher of the presence of the library:
|
|
#self.add_export_flag("link-lib", "xns")
|
|
self.add_header_file([
|
|
"/usr/include/arpa/*"
|
|
],
|
|
destination_path="arpa",
|
|
recursive=True)
|
|
self.add_module_depend([
|
|
'c'
|
|
])
|
|
|
|
|
|
|
|
|