Date:2011-10-20 10:07:21 (12 years 5 months ago)
Author:Xiangfu Liu
Commit:0fe5add22c306187b28beecc70419a0717bfd1e1
Message:new package: signalgen python version

Files: signalgen.py/Makefile (1 diff)

Change Details

signalgen.py/Makefile
1#
2# Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
3#
4# License GPLv2 or later. NO WARRANTY.
5#
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=signalgen.py
10PKG_VERSION:=1.1
11PKG_SOURCE:=$(PKG_NAME)
12PKG_SOURCE_URL:=http://www.arachnoid.com/python/python_programs/
13PKG_RELEASE:=1
14PKG_INSTALL:=1
15PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
16
17include $(INCLUDE_DIR)/package.mk
18PKG_UNPACK:=
19
20define 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
27endef
28
29define Package/signalgen.py/description
30Signalgen.Py can generates relatively low frequency signals with the use of a PC sound card.
31endef
32
33define Build/Configure
34endef
35
36define Build/Compile
37endef
38
39define Build/Install
40endef
41
42define 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
47endef
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:

Archive Download the corresponding diff file



interactive