categories archivers sysutils
description The \"HA\" archiver, based on arithmetic/Markov coder.
homepage ftp://ftp.kiarchive.ru/pub/unix/arcers/
long_description ${description}
master_sites ftp://ftp.kiarchive.ru/pub/unix/arcers/
checksums md5 77f3266a451712bec55d60df67f61486 \
sha1 8dd106748619772f988ee0bce59937a4de1677ed \
rmd160 41b52392267551f834b58e0a4b69b89e813c8bd6
reinplace -E "s|(malloc.h)|malloc/\\1|" \
reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/makefile.nix
reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/makefile.nix
build.args -f makefile.nix
xinstall ${worksrcpath}/ha ${destroot}${prefix}/bin
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} copying readme ${destroot}${docdir}