add recipe to build libpacket