Root/python-pyneo/Makefile

Source at commit 1b3135c created 8 years 1 month ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
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#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=python-pyneo
10PKG_VERSION:=1.26
11PKG_RELEASE:=1
12
13PKG_SOURCE:=pyneo-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=http://git.pyneo.org/browse/cgit/pyneo/snapshot/
15PKG_MD5SUM:=48cc3fe7c29ac385107cee08786a4477
16
17PKG_BUILD_DIR=$(BUILD_DIR)/pyneo-$(PKG_VERSION)/$(PKG_NAME)
18PKG_BUILD_DEPENDS:=python
19
20include $(INCLUDE_DIR)/package.mk
21$(call include_mk, python-package.mk)
22
23define Package/python-pyneo
24  SUBMENU:=Python
25  SECTION:=lang
26  CATEGORY:=Languages
27  DEPENDS:=@BROKEN +python
28  TITLE:=Base lib for pyneo suite
29  URL:=http://pyneo.org/
30endef
31
32define Package/python-pyneo/description
33 Pyneo is a software stack for mobile devices.
34endef
35
36define PyPackage/python-pyneo/filespec
37+|$(PYTHON_PKG_DIR)/python-pyneo
38-|$(PYTHON_PKG_DIR)/python-pyneo/data
39endef
40
41define 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    )
46endef
47
48$(eval $(call PyPackage,python-pyneo))
49$(eval $(call BuildPackage,python-pyneo))
50

Archive Download this file



interactive