OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # Copyright (C) 2010 pyneo.org |
3 | # |
4 | # This is free software, licensed under the GNU General Public License |
5 | # v3. See /LICENSE for more information. |
6 | # |
7 | include $(TOPDIR)/rules.mk |
8 | |
9 | PKG_NAME:=pyneod |
10 | PKG_VERSION:=1.26 |
11 | PKG_RELEASE:=1 |
12 | |
13 | PKG_SOURCE:=pyneo-$(PKG_VERSION).tar.gz |
14 | PKG_SOURCE_URL:=http://git.pyneo.org/browse/cgit/pyneo/snapshot/ |
15 | PKG_MD5SUM:=48cc3fe7c29ac385107cee08786a4477 |
16 | |
17 | PKG_BUILD_DIR=$(BUILD_DIR)/pyneo-$(PKG_VERSION)/$(PKG_NAME) |
18 | PKG_BUILD_DEPENDS:=python |
19 | |
20 | include $(INCLUDE_DIR)/package.mk |
21 | $(call include_mk, python-package.mk) |
22 | |
23 | define Package/pyneod |
24 | SUBMENU:=Python |
25 | SECTION:=lang |
26 | CATEGORY:=Languages |
27 | DEPENDS:=@BROKEN +python +python-pyneo |
28 | TITLE:=Base lib for pyneo suite |
29 | URL:=http://pyneo.org/ |
30 | endef |
31 | |
32 | define Package/pyneod/description |
33 | Pyneo is a software stack for mobile devices. |
34 | endef |
35 | |
36 | define PyPackage/pyneod/filespec |
37 | +|$(PYTHON_PKG_DIR)/pyneod |
38 | -|$(PYTHON_PKG_DIR)/pyneod/data/alsastates |
39 | endef |
40 | |
41 | define Build/Compile |
42 | $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false) |
43 | $(call Build/Compile/PyMod,., \ |
44 | install --prefix="$(PKG_INSTALL_DIR)/usr", \ |
45 | ) |
46 | endef |
47 | |
48 | $(eval $(call PyPackage,pyneod)) |
49 | $(eval $(call BuildPackage,pyneod)) |
50 |