[sbox-ARM]  ~
$ hfp get ftp://ftp.tiscali.nl/pub/mirror/gentoo/distfiles/unrarsrc-3.7.8.tar.gz
ftp://ftp.tiscali.nl/pub/mirror/gentoo/distfiles/unrarsrc-3.7.8.tar.gz downloaded (136K)
tar zxf /home/hv/downloads/unrarsrc-3.7.8.tar.gz -C /home/hv/src

[sbox-ARM]  ~
$ cd ~/src

[sbox-ARM]  ~/src
$ mv unrar unrar-3.7.8

[sbox-ARM]  ~/src
$ cd unrar-3.7.8

[sbox-ARM]  ~/src/unrar-3.7.8
$ make -f makefile.unix unrar lib

[sbox-ARM]  ~/src/unrar-3.7.8
$ hfp create-skeleton
/home/hv/hfp/packages/unrar-3.7.8/root created
/home/hv/hfp/packages/unrar-3.7.8/info created
/home/hv/hfp/packages/unrar-3.7.8/info/version created
/home/hv/hfp/packages/unrar-3.7.8/info/description created

[sbox-ARM]  ~/src/unrar-3.7.8
$ hfp copy unrar usr/bin
mkdir -p /home/hv/hfp/packages/unrar-3.7.8/root/usr/bin
cp unrar /home/hv/hfp/packages/unrar-3.7.8/root/usr/bin/unrar

[sbox-ARM]  ~/src/unrar-3.7.8
$ hfp copy libunrar.so usr/lib
mkdir -p /home/hv/hfp/packages/unrar-3.7.8/root/usr/lib
cp libunrar.so /home/hv/hfp/packages/unrar-3.7.8/root/usr/lib/libunrar.so

[sbox-ARM]  ~/src/unrar-3.7.8
$ hfp create-package -e
Creating package from local source folder

Package:      unrar
Version:      3.7.8
Description:  extract files from rar archives
/home/hv/hfp/repository/unrar-3.7.8_01.00.tar.bz2 created