My Environment - Buildroot on Ubuntu for attitude_adjustment
Assuming buildroot is in your home dir
1.In buildroot create the packages folder
mkdir ~/openwrt/attitude_adjustment/feeds/packages/utils/zeromq
2.Create the Makefile for the package
cd ~/openwrt/attitude_adjustment/feeds/packages/utils/zeromq
3.Get contents of Makefile from the git link - https://github.com/vperron/openwrt-zmq-packages/blob/master/zeromq/Makefile
Make sure u get the raw version with the TABS (else there are build errors) from here https://raw.githubusercontent.com/vperron/openwrt-zmq-packages/master/zeromq/Makefile
4.Update and Install in the feeds in the buildroot
cd ~/openwrt/attitude_adjustment/scripts/
cd ~/openwrt/attitude_adjustment
From Libraries select zeromq, add M next to it and select Exit twice, choose to save the config file when prompted
make package/zeromq/compile
I got an error - so run with verbose option to see the error
make V=s package/zeromq/compile
If there are github key errors -
Create a public key following this https://help.github.com/articles/generating-ssh-keys/
Add your key to your github account https://help.github.com/articles/keeping-your-ssh-keys-and-application-access-tokens-safe/#reviewing-your-ssh-keys
If all is ok again execute
make package/zeromq/compile
8.If there are no error messages you will find a zeromq_something_ar71xx.ipk file in openwrt/attitude_adjustment/bin/ar71xx/packages
9.FTP/WGet that file onto the target openwrt
10.Install dependencies for zeromq