description the extra-light http proxy server
long_description ${description}
homepage http://www.cr0.net:8040/code/network/
master_sites ${homepage} http://downloads.openwrt.org/sources/
checksums md5 b52f68c47f709e9fc9429250eb8f954c
# DOS to UNIX line endings so we can patch.
reinplace "s|\r||g" ${worksrcpath}/elhttp.c
patchfiles patch-Makefile.diff \
build.args CC="${configure.cc}" \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
xinstall -m 755 -s ${worksrcpath}/elhttp ${destroot}${prefix}/sbin
xinstall -m 644 -W ${worksrcpath} README ChangeLog \
${destroot}${prefix}/share/doc/${name}/