replace ipkg-make-index with a shell script that works on bsd