diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
| commit | 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch) | |
| tree | 58590463ada82a27eca0889312c32450358249a8 /dfbsee/Makefile | |
| download | qipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz | |
Major overhaul and cleanup. Support for .ubi image file installations.grafted
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.
Diffstat (limited to 'dfbsee/Makefile')
| -rw-r--r-- | dfbsee/Makefile | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/dfbsee/Makefile b/dfbsee/Makefile new file mode 100644 index 0000000..93a4541 --- /dev/null +++ b/dfbsee/Makefile @@ -0,0 +1,76 @@ +# +# 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:=dfbsee +PKG_VERSION:=0.7.4 +PKG_RELEASE:=1 + +PKG_SOURCE:=DFBSee-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.directfb.org/download/DFBSee/ +PKG_MD5SUM:=3320a976457d3b3e9eaef530fdf56b37 +PKG_BUILD_DIR:=$(BUILD_DIR)/DFBSee-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/dfbsee + SECTION:=multimedia + CATEGORY:=Multimedia + TITLE:=directfb media player + URL:= + MENU:=1 + DEPENDS:=@BROKEN +endef + +define Package/dfbsee/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 + +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include + +define Build/Compile + -$(MAKE) -C $(PKG_BUILD_DIR) distclean + (cd $(PKG_BUILD_DIR); \ + ./configure \ + ); + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + volume-tables-gen + + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + volume-tables.header + + $(MAKE) -C $(PKG_BUILD_DIR) distclean + + $(call Build/Configure/Default, \ + ); + + $(MAKE) -C $(PKG_BUILD_DIR)/src/gfx \ + $(MAKE_OPTS) \ + gfx.h + + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + dfbsee +endef + +define Package/dfbsee/install + $(INSTALL_DIR) \ + $(1)/usr/share/DFBSee \ + $(1)/usr/bin \ + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/src/dfbsee \ + $(1)/usr/bin/ + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/data/decker.ttf \ + $(1)/usr/share/DFBSee/ +endef + +$(eval $(call BuildPackage,dfbsee)) |
