- Build your toolchain using OpenWRT as per manual
- Select minidlna from the available packages or use "scripts/feeds install minidlna"
- "make" to compile everything
UPDATE LATEST MINIDLNA
- download the latest source from minidlna.org and save it to ~/OpenWRT/trunk/dl/
You can use wget <URL> -O ~/OpenWRT/trunk/dl/minidlna_1.1.2_src.tar.gz
- if name is not in the format minidlna_<Rel.x.y.x>_src.tar.gz rename it (i.e. minidlna_1.1.2_src.tar.gz)
You can also adapt the name in the Makefile below
- cd ~/OpenWRT/trunk/package/feeds/packages/minidlna/
- copy Makefile Makefile.bak ... backup the original file
- mv patches patches.bak ... backup the original folder
- mkdir patches ... create a new empty folder ... no need to apply any patch
- vi Makefile and change
Line11: PKG_VERSION:=1.1.2 ... Update to the correct version
Line16: PKG_MD5SUM:=65cebffaf9b57bf30fbfcf2a3a3253e6 ... Update to the correct md5sum of the new source file
Line80: $(INSTALL_BIN) $(PKG_BUILD_DIR)/minidlnad ... change "minidlna" in "minidlnad"
- cd ~/OpenWRT/trunk/
- make package/minidlna/compile
You may get an error but it shouldn't be during the compiling
At the end anyway you should have a compiled and working minidlnad in the
~/OpenWRT/trunk/build_dir/target-mipsel_r2_uClibc-0.9.33.2/linux-malta_le/minidlna-1.1.2/
Hope this help