define Package/fonera-mp3d
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@LINUX_2_6_ATHEROS
+ DEPENDS:=@TARGET_atheros
TITLE:=Daemon for fonera-mp3
- DESCRIPTION:=Daemon to drive a vs1011X mp3 decoder attached to the \
- fonera gpio pins
+endef
+
+define Package/fonera-mp3d/description
+ Daemon to drive a vs1011X mp3 decoder attached to the
+ fonera gpio pins
endef
define Build/Prepare
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))