Change Details
signalgen.py/Makefile |
| 1 | # |
| 2 | # Copyright (C) Xiangfu Liu <xiangfu@sharism.cc> |
| 3 | # |
| 4 | # License GPLv2 or later. NO WARRANTY. |
| 5 | # |
| 6 | |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=signalgen.py |
| 10 | PKG_VERSION:=1.1 |
| 11 | PKG_SOURCE:=$(PKG_NAME) |
| 12 | PKG_SOURCE_URL:=http://www.arachnoid.com/python/python_programs/ |
| 13 | PKG_RELEASE:=1 |
| 14 | PKG_INSTALL:=1 |
| 15 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | PKG_UNPACK:= |
| 19 | |
| 20 | define Package/signalgen.py |
| 21 | TITLE:=Signalgen.Py |
| 22 | SECTION:=utils |
| 23 | CATEGORY:=Utilities |
| 24 | URL:=http://www.arachnoid.com/python/signalgen.py_program.html |
| 25 | DEPENDS:=+python @BROKEN |
| 26 | # ImportError: No module named gobject when start in nanonote |
| 27 | endef |
| 28 | |
| 29 | define Package/signalgen.py/description |
| 30 | Signalgen.Py can generates relatively low frequency signals with the use of a PC sound card. |
| 31 | endef |
| 32 | |
| 33 | define Build/Configure |
| 34 | endef |
| 35 | |
| 36 | define Build/Compile |
| 37 | endef |
| 38 | |
| 39 | define Build/Install |
| 40 | endef |
| 41 | |
| 42 | define Package/signalgen.py/install |
| 43 | $(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME) |
| 44 | $(INSTALL_BIN) $(DL_DIR)/$(PKG_NAME) $(1)/usr/share/$(PKG_NAME)/ |
| 45 | wget http://www.arachnoid.com/python/python_programs/signalgen_gui.glade \ |
| 46 | -O $(1)/usr/share/$(PKG_NAME)/signalgen_gui.glade |
| 47 | endef |
| 48 | |
| 49 | $(eval $(call BuildPackage,signalgen.py)) |
| 50 | |
| 51 | # The following comments configure the Signalgen.Py editor. Just ignore them. |
| 52 | # Local Variables: |
| 53 | # compile-command: "make -C ~/openwrt-xburst.full_system package/signalgen.py/{clean,compile} V=99" |
| 54 | # End: |
Download the corresponding diff file