pyneod/Makefile |
| 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=pyneod |
| 11 | PKG_VERSION:=1.26 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PKG_SOURCE:=pyneo-$(PKG_VERSION).tar.gz |
| 15 | PKG_SOURCE_URL:=http://git.pyneo.org/browse/cgit/pyneo/snapshot/ |
| 16 | PKG_MD5SUM:=48cc3fe7c29ac385107cee08786a4477 |
| 17 | |
| 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:=+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)) |
python-pyneo/Makefile |
| 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:=python-pyneo |
| 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_DEPENDS:=python |
| 18 | |
| 19 | include $(INCLUDE_DIR)/package.mk |
| 20 | $(call include_mk, python-package.mk) |
| 21 | |
| 22 | define Package/python-pyneo |
| 23 | SUBMENU:=Python |
| 24 | SECTION:=lang |
| 25 | CATEGORY:=Languages |
| 26 | DEPENDS:=+python |
| 27 | TITLE:=Base lib for pyneo suite |
| 28 | URL:=http://pyneo.org/ |
| 29 | endef |
| 30 | |
| 31 | define Package/python-pyneo/description |
| 32 | Pyneo is a software stack for mobile devices. |
| 33 | endef |
| 34 | |
| 35 | define PyPackage/python-pyneo/filespec |
| 36 | +|$(PYTHON_PKG_DIR)/python-pyneo |
| 37 | -|$(PYTHON_PKG_DIR)/python-pyneo/data |
| 38 | endef |
| 39 | |
| 40 | define Build/Compile |
| 41 | $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false) |
| 42 | $(call Build/Compile/PyMod,., \ |
| 43 | install --prefix="$(PKG_INSTALL_DIR)/usr", \ |
| 44 | ) |
| 45 | endef |
| 46 | |
| 47 | $(eval $(call PyPackage,python-pyneo)) |
| 48 | $(eval $(call BuildPackage,python-pyneo)) |