Installation is performed following the steps in 2.11.2 from INSTALL-SOURCE

[sbox-ARM] ~
$ hfp get mysql
url=ftp://mirror.leaseweb.com/mysql/Downloads/MySQL-5.5/mysql-5.5.8.tar.gz
mysql-5.5.8.tar.gz already exists
tar zxf /home/hv/downloads/mysql-5.5.8.tar.gz -C /home/hv/src

[sbox-ARM] ~
$ cd ~/src/mysql-5.5.8

[sbox-ARM] ~
$ hfppkg install ncurses cmake
the following packages have to be installed first:
- openssl-1.0.0b
installing openssl-1.0.0b ...
openssl-1.0.0b installed
installing ncurses-5.7 ...
ncurses-5.7 installed
installing cmake-2.8.3 ...
cmake-2.8.3 installed

[sbox-ARM] ~/src/mysql-5.5.8
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/hfp/packages/mysql-5.5.8/root .

[sbox-ARM] ~/src/mysql-5.5.8
$ make

[sbox-ARM] ~/src/mysql-5.5.8
$ hfp create-skeleton

[sbox-ARM] ~/src/mysql-5.5.8
$ make install

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

Package:      mysql
Version:      5.5.8
Description:  a popluar open source database

make install ... done
/home/hv/hfp/repository/mysql-5.5.8_01.00.tar.bz2 created