Topic: Issues with making a new package for OpenWRT (minidlna)
I'm trying to make a package for minidlna but I'm stuck and I can't figure out what's wrong. I have no idea if it will work but it should at least in theory. Hopefully someone here can and tell me what stupid mistake I made ;-)
# # Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=minidlna PKG_VERSION:=1 PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR) PKG_SOURCE:=minidlna-snapshot-010110.zip PKG_SOURCE_URL:=http://projects.pyret.net/dump PKG_MD5SUM:=005d345670dcd7491d97cb685763b510 include $(INCLUDE_DIR)/package.mk define Package/minidlna SECTION:=network CATEGORY:=Network TITLE:=MiniDLNA DESCRIPTION:=MiniDLNA Server URL:=http://sourceforge.net/projects/minidlna/ MAINTAINER:=Someone DEPENDS:=+libexif +libjpeg +libid3tag +libflac +libvorbis +libsqlite3 +ffmpeg +libuuid endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) endef define Package/minidlna/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DATA) ./minidlna.conf $(1)/etc endef $(eval $(call BuildPackage,minidlna))
Putting this in ....trunk/packages/minidlna and running make menuconfig results in an error saying something like "please fix Makefile for minidlna" and building the port manually results in "dont know how to make target".