Root/fmit/Makefile

1#
2# Copyright (C) 2011 Qi Hardware Inc.
3# Author: Xiangfu Liu <xiangfu@sharism.cc>
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=fmit
12PKG_VERSION:=0.99.2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-Source.tar.bz2
15PKG_SOURCE_URL:=http://download.gna.org/fmit/
16PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-Source
17PKG_INSTALL:=1
18
19include $(INCLUDE_DIR)/package.mk
20include $(INCLUDE_DIR)/cmake.mk
21
22define Package/fmit/Default
23    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
24    SECTION:=utils
25    CATEGORY:=Utilities
26    DEPENDS:=fmit
27    TITLE:=Free Music Instrument Tuner
28endef
29
30define Package/fmit/description
31    Free Music Instrument Tuner
32endef
33
34define Package/fmit
35    $(call Package/fmit/Default)
36    DEPENDS:=@BROKEN
37#depends on GLUT, and GLUT depends on X
38endef
39
40CMAKE_OPTIONS+= -DCMAKE_C_COMPILER=$(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CC) \
41    -DCMAKE_CXX_COMPILER=$(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CXX) \
42    -DQT_QMAKE_EXECUTABLE=$(STAGING_DIR_HOST)/bin/qmake \
43    -DQT_MOC_EXECUTABLE=$(STAGING_DIR_HOST)/bin/moc \
44    -DQT_UIC_EXECUTABLE=$(STAGING_DIR_HOST)/bin/uic \
45    -DQT_RCC_EXECUTABLE=$(STAGING_DIR_HOST)/bin/rcc
46
47define Package/fmit/install
48endef
49
50$(eval $(call BuildPackage,fmit))
51
52# The following comments configure the Emacs editor. Just ignore them.
53# Local Variables:
54# compile-command: "make -C ~/openwrt-xburst.full_system package/fmit/{clean,compile} -j2 V=99"
55# End:

Archive Download this file



interactive