From 0fe5add22c306187b28beecc70419a0717bfd1e1 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 20 Oct 2011 16:07:21 +0800 Subject: [PATCH] new package: signalgen python version --- signalgen.py/Makefile | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 signalgen.py/Makefile diff --git a/signalgen.py/Makefile b/signalgen.py/Makefile new file mode 100644 index 0000000..3ae67e8 --- /dev/null +++ b/signalgen.py/Makefile @@ -0,0 +1,54 @@ +# +# Copyright (C) Xiangfu Liu +# +# License GPLv2 or later. NO WARRANTY. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=signalgen.py +PKG_VERSION:=1.1 +PKG_SOURCE:=$(PKG_NAME) +PKG_SOURCE_URL:=http://www.arachnoid.com/python/python_programs/ +PKG_RELEASE:=1 +PKG_INSTALL:=1 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk +PKG_UNPACK:= + +define Package/signalgen.py + TITLE:=Signalgen.Py + SECTION:=utils + CATEGORY:=Utilities + URL:=http://www.arachnoid.com/python/signalgen.py_program.html + DEPENDS:=+python @BROKEN +# ImportError: No module named gobject when start in nanonote +endef + +define Package/signalgen.py/description +Signalgen.Py can generates relatively low frequency signals with the use of a PC sound card. +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Build/Install +endef + +define Package/signalgen.py/install + $(INSTALL_DIR) $(1)/usr/share/$(PKG_NAME) + $(INSTALL_BIN) $(DL_DIR)/$(PKG_NAME) $(1)/usr/share/$(PKG_NAME)/ + wget http://www.arachnoid.com/python/python_programs/signalgen_gui.glade \ + -O $(1)/usr/share/$(PKG_NAME)/signalgen_gui.glade +endef + +$(eval $(call BuildPackage,signalgen.py)) + +# The following comments configure the Signalgen.Py editor. Just ignore them. +# Local Variables: +# compile-command: "make -C ~/openwrt-xburst.full_system package/signalgen.py/{clean,compile} V=99" +# End: