From 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sat, 18 Sep 2010 20:47:21 +0200 Subject: Major overhaul and cleanup. Support for .ubi image file installations. Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386. --- gmu/Makefile | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 gmu/Makefile (limited to 'gmu/Makefile') diff --git a/gmu/Makefile b/gmu/Makefile new file mode 100644 index 0000000..1818a58 --- /dev/null +++ b/gmu/Makefile @@ -0,0 +1,80 @@ +# +# Copyright (c) 2010 wejp +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gmu +PKG_VERSION:=0.7.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://wejp.k.vu/files/ +PKG_MD5SUM:=62653037d2046d992626eaf6d0a365e3 + +include $(INCLUDE_DIR)/package.mk + +define Package/gmu + SECTION:=multimedia + CATEGORY:=Multimedia + TITLE:=Gmu Music Player + URL:=http://wejp.k.vu/projects/gmu/ + MENU:=1 + DEPENDS:=+libsdl +libsdl-image +libsdl-gfx +libmpcdec +libmikmod +libvorbisidec +endef + +define Package/gmu/description + A popular music player for various handheld devices. + It supports various file formats and comes with a + file browser and a playlist editor/viewer. +endef + +MAKE_VARS += TARGET=nanonote +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL + +define Package/gmu/install + $(INSTALL_DIR) \ + $(1)/etc/gmu \ + $(1)/usr/bin \ + $(1)/usr/share/gmu \ + $(1)/usr/share/gmu/decoders \ + $(1)/usr/share/gmu/frontends \ + $(1)/usr/share/gmu/themes/default-modern + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/gmu \ + $(1)/usr/bin/gmu.bin + + $(INSTALL_BIN) \ + ./files/gmu \ + $(1)/usr/bin/ + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/*.conf \ + $(1)/etc/gmu/ + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/*.keymap \ + $(1)/etc/gmu/ + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/decoders/* \ + $(1)/usr/share/gmu/decoders/ + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/frontends/* \ + $(1)/usr/share/gmu/frontends/ + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/themes/default-modern/* \ + $(1)/usr/share/gmu/themes/default-modern/ + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/README.txt \ + $(1)/usr/share/gmu/ +endef + +$(eval $(call BuildPackage,gmu)) -- cgit v1.2.3