X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticindex.php;h=1a21456d179c832c480ec6dacedd8af022520287;hp=9dace4e7aac01228850978d4a0bbb1c4c89b2511;hb=8badbce50fdf6f49f8178c064c73f5e0f39174a9;hpb=ad8da11f6d0664e0fb3c8707a869425088daea7e diff --git a/web/staticindex.php b/web/staticindex.php index 9dace4e7..1a21456d 100644 --- a/web/staticindex.php +++ b/web/staticindex.php @@ -14,37 +14,40 @@ something useful.

-CCAN is loosely modelled after the succesful CPAN project +CCAN is loosely modelled after the successful CPAN project for Perl code development and sharing.

-

Getting The Code

+

Get The Code

+

You can get each module as a tarball (see +list), get a tarball of the whole repository with tools, +or clone our git repository (git clone git://git.ozlabs.org/~ccan/ccan). +

+ +

Use The Code

-Once you grab some modules, there are two basic -ways to use it: +There are two ways to use it:

    -
  1. Just hack it to compile in your project. +
  2. Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like + this example, or generate one using the configurator) and compile every .c file + in ccan/* (as in this Makefile)). -
  3. Use it in place by giving it a "config.h" (steal - this example) and compiling all the .c - files which don't start with "_" (eg. as in this simple Makefile). +
  4. Alternatively, just hack whatever parts you want so it compiles in +your project.

+

Add Code

-There's also a -Bazaar repository for all the CCAN -infrastructure at -http://ccan.ozlabs.org/repo. +We always welcome new code! Copy an existing module and run the "ccanlint" +tool over it, or just send any code you have lying around any let someone +else polish it up.

-

Module Contributions

- -

-We welcome new code! The guide to creating new modules is a work in -progress (just copy an existing module), but anyone can -just upload code. +

Anyone can send code or a git pull request to +the friendly +mailing list or just upload it using the web form.

@@ -58,7 +61,6 @@ licenses preferred. We have a low volume mailing list for discussion of CCAN in general, and you're welcome to join. -

@@ -68,10 +70,5 @@ We also have an IRC channel: #ccan on Freenode

We also have a wiki; feel free to enhance it.

- -

-Rusty Russell -

-