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