source: feeds/efl/python-etk/Makefile @ 19042

Last change on this file since 19042 was 19042, checked in by nico, 6 years ago

[packages] python-etk: update svn url

File size: 1.3 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-etk
12
13PKG_REV:=40853
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/OLD/BINDINGS/python/$(PKG_NAME)
22
23PKG_BUILD_DEPENDS:=cython python
24
25include $(INCLUDE_DIR)/package.mk
26-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
27
28define Package/python-etk
29  SUBMENU:=Python
30  SECTION:=lang
31  CATEGORY:=Languages
32  TITLE:=python-etk
33  DEPENDS:=+python-mini +etk +python-evas +python-ecore +python-edje
34endef
35
36define Package/python-etk/description
37  etk python bindings
38endef
39
40TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
41TARGET_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib
42
43define Build/Compile
44        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
45endef
46
47define Package/python-etk/install
48        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
49        $(CP) \
50            $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
51            $(1)$(PYTHON_PKG_DIR)
52endef
53
54$(eval $(call BuildPackage,python-etk))
Note: See TracBrowser for help on using the repository browser.