1 2 3 4
pkg:setup inreplace "torrentcheck.c", "#include <malloc.h>", "" ENV.cc torrentcheck.c sha1.c -o torrentcheck *ENV.cflags.to_s.split bin.install "torrentcheck"