source: packages/lang/python-evas/Makefile @ 13864

Last change on this file since 13864 was 13864, checked in by mirko, 8 years ago

added <cython> and <python> as build dependencies

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=python-evas
12
13PKG_REV:=37637
14PKG_VERSION:=r$(PKG_REV)
15PKG_RELEASE:=1
16
17PKG_SOURCE_PROTO:=svn
18PKG_SOURCE_VERSION:=$(PKG_REV)
19PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
20PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
21PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME)
22
23PKG_BUILD_DEPENDS:=cython python
24
25include $(INCLUDE_DIR)/package.mk
26include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
27
28define Package/python-evas
29  SUBMENU:=Python
30  SECTION:=lang
31  CATEGORY:=Languages
32  TITLE:=python-evas
33  DEPENDS:=python-core evas eina
34endef
35
36define Package/python-evas/description
37  evas python bindings
38endef
39
40define Build/Compile
41        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
42endef
43
44define Package/python-evas/install
45        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
46        $(CP) \
47            $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
48            $(1)$(PYTHON_PKG_DIR)
49endef
50
51$(eval $(call BuildPackage,python-evas))
Note: See TracBrowser for help on using the repository browser.