prevent madwifi from building on UML
[openwrt.git] / package / fonera-mp3 / Makefile
index db8146f..1cdbd4c 100644 (file)
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/fonera-mp3d
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=@TARGET_ATHEROS
+  DEPENDS:=@TARGET_atheros
   TITLE:=Daemon for fonera-mp3
 endef
 
@@ -57,6 +57,8 @@ define Package/fonera-mp3d/install
        ln -sf mp3.cgi $(1)/www/cgi-bin/mp3_remote.cgi 
        $(INSTALL_DIR) $(1)/www/local
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/cgi/{stylesheet.css,json.js} $(1)/www/local/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/mp3d.init $(1)/etc/init.d/mp3d
 endef
 
 $(eval $(call BuildPackage,fonera-mp3d))
This page took 0.027337 seconds and 4 git commands to generate.