dceConf.xml
changeset 87 3ee2520ab3e5
parent 85 a472025e6bb9
child 88 aff7af5cb9a0
--- a/dceConf.xml	Thu Jul 19 17:16:45 2012 +0200
+++ b/dceConf.xml	Fri Jul 20 17:56:05 2012 +0200
@@ -73,4 +73,111 @@
 
   </modules>
 
+  <module name="ns-3-dev">
+      <source type="mercurial">
+	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
+      </source>
+      <depends_on name="nsc" optional="True"/>
+      <depends_on name="pybindgen" optional="True"/>
+      <depends_on name="click-1.8.0" optional="True"/>
+      <depends_on name="openflow-ns3" optional="True"/>
+      <build type="waf" objdir="yes">
+	<attribute name="configure_arguments" value="configure --prefix=`pwd`/../build --enable-tests --with-nsc=$INSTALLDIR --with-nsclick=$INSTALLDIR --with-openflow=$INSTALLDIR"/>
+      </build>
+  </module>
+
+    <module name="click-1.8.0">
+      <source type="archive">
+	<attribute name="url" value="http://read.cs.ucla.edu/click/click-1.8.0.tar.gz"/>
+      </source>
+      <build type="autotools" objdir="yes">
+	<attribute name="configure_arguments" value="configure --enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/>
+      </build>
+    </module>
+
+    <module name="openflow-ns3">
+      <source type="mercurial">
+	<attribute name="url" value="http://code.nsnam.org/bhurd/openflow"/>
+      </source>
+      <build type="waf" objdir="yes">
+	<attribute name="configure_arguments" value="configure"/>
+      </build>
+    </module>
+
+    <module name="gccxml-ns3">
+      <source type="cvs">
+	<attribute name="root" value=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"/>
+	<attribute name="module" value="gccxml"/>
+	<attribute name="date" value="2009-09-21"/>
+      </source>
+      <build type="cmake" objdir="yes">
+      </build>
+    </module>
+
+    <module name="pygccxml">
+      <source type="archive">
+	<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/>
+      </source>
+      <build type="python" objdir="yes">
+      </build>
+      <depends_on name="gccxml-ns3"/>
+    </module>
+
+    <module name="pybindgen">
+      <source type="bazaar">
+	<attribute name="url" value="https://launchpad.net/pybindgen"/>
+	<attribute name="revision" value="revno:795"/>
+      </source>
+      <build type="waf" objdir="yes">
+	<attribute name="build_arguments" value="--generate-version"/>
+      </build>
+      <depends_on name="pygccxml" optional="True"/>
+    </module>
+
+    <module name="nsc">
+      <source type="mercurial">
+	<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/>
+      </source>
+      <!-- problem: scons has no generic command-line support for builddir and installdir -->
+      <build type="inline"  classname="NscModuleBuild">
+	<code>class NscModuleBuild(InlineModuleBuild):
+    def __init__(self):
+        InlineModuleBuild.__init__(self)
+    def build(self, env, jobs):
+        env.run(['python', os.path.join(env.srcdir, 'scons.py'), 
+                 '-j', str(jobs), '--prefix=' + env.installdir, 'install'],
+                directory=env.srcdir)
+    def clean(self, env):
+        env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'],
+                directory=env.srcdir)
+    def check_version(self, env):
+        return True</code>
+      </build>
+    </module>
+    
+
+    <module name="qt4">
+      <source type="system_dependency">
+	<attribute name="dependency_test" value="(qmake or qmake-qt4)"/>
+	<attribute name="try_to_install" value="True"/>
+	<attribute name="name_yum" value="qt4-devel"/>
+	<attribute name="name_apt-get" value="qt4-dev-tools"/>
+	<attribute name="more_information" value="Didn't find QT 4, download and install it from http://qt.nokia.com/downloads/"/>
+      </source>
+    </module>
+
+    <module name="net_anim">
+      <source type="mercurial">
+	<attribute name="url" value="http://code.nsnam.org/netanim"/>
+      </source>
+      <build type="waf" objdir="yes">
+	<attribute name="pre_installation" value="qmake NetAnim.pro or qmake-qt4 NetAnim.pro or qmake -spec macx-g++ NetAnim.pro"/>
+      </build>
+      <depends_on name="qt4" optional="False"/>
+    </module>
+
+
+  </modules>
+
+
 </configuration>