staticindex.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. session_start();
  3. include('logo.html');
  4. include('menulist.html');
  5. include('static-configuration');
  6. ?>
  7. <div class='content'>
  8. <h2>The Idea</h2>
  9. <p>
  10. That nice snippets of C code should be moved out of junkcode
  11. directories and exposed to a wider world, where they can become
  12. something useful.
  13. </p>
  14. <p>
  15. CCAN is loosely modelled after the successful <a href="http://cpan.org">CPAN project</a>
  16. for Perl code development and sharing.
  17. </p>
  18. <h2>Get The Code</h2>
  19. <p> You can get each module as a tarball (<a href="list.html">see
  20. list</a>), get a tarball of <a href="ccan.tar.bz2">the whole repository</a> with tools,
  21. or clone our <a href="http://git.ozlabs.org/?p=ccan">git repository</a> (<tt>git clone git://git.ozlabs.org/~ccan/ccan</tt>) or the one on <a href="http://github.com/rustyrussell/ccan/">github</a>.
  22. </p>
  23. <h2>Use The Code</h2>
  24. <p>
  25. There are two ways to use it:
  26. <ol>
  27. <li> Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like
  28. <a href="example-config.h">this example</a>, or generate one using <a href="http://git.ozlabs.org/?p=ccan;a=blob_plain;f=tools/configurator/configurator.c">the configurator</a>) and compile every .c file
  29. in ccan/* (as in this <a href="Makefile-ccan">Makefile</a>)).
  30. <li> Alternatively, just hack whatever parts you want so it compiles in
  31. your project.
  32. </ol>
  33. </p>
  34. <h2>Add Code</h2>
  35. <p>
  36. We always welcome new code; see <a href="http://github.com/rustyrussell/ccan/wiki/Contribute">how!</a>.
  37. </p>
  38. <p>Anyone can send code or a git pull request to
  39. the <a href="http://ozlabs.org/mailman/listinfo/ccan">friendly
  40. mailing list</a> or just <a href="upload.html">upload it using the web form</a>.
  41. </p>
  42. <p>
  43. "GPLv2 or later" and supersets thereof (eg. LGPLv2+ or BSD)
  44. licenses preferred.
  45. </p>
  46. <h2>Complaints, Ideas and Infrastructure</h2>
  47. <p>
  48. We have a <a href="http://ozlabs.org/mailman/listinfo/ccan">low volume
  49. mailing list</a> for discussion of CCAN in general, and you're welcome
  50. to join.
  51. </p>
  52. <p>
  53. We also have an IRC channel: #ccan on <a href="http://freenode.net">Freenode</a>.
  54. </p>
  55. <p>
  56. We also have a <a href="http://github.com/rustyrussell/ccan/wiki/">wiki</a>; feel free to enhance it.
  57. </p>
  58. </div>
  59. </body></html>