OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | |
| 9 | include $(TOPDIR)/rules.mk |
| 10 | |
| 11 | PKG_NAME:=fmit |
| 12 | PKG_VERSION:=0.99.2 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-Source.tar.bz2 |
| 15 | PKG_SOURCE_URL:=http://download.gna.org/fmit/ |
| 16 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-Source |
| 17 | PKG_INSTALL:=1 |
| 18 | |
| 19 | include $(INCLUDE_DIR)/package.mk |
| 20 | include $(INCLUDE_DIR)/cmake.mk |
| 21 | |
| 22 | define 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 |
| 28 | endef |
| 29 | |
| 30 | define Package/fmit/description |
| 31 | Free Music Instrument Tuner |
| 32 | endef |
| 33 | |
| 34 | define Package/fmit |
| 35 | $(call Package/fmit/Default) |
| 36 | DEPENDS:=@BROKEN |
| 37 | #depends on GLUT, and GLUT depends on X |
| 38 | endef |
| 39 | |
| 40 | CMAKE_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 | |
| 47 | define Package/fmit/install |
| 48 | endef |
| 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: |
