source: packages/lang/python-etk/Makefile @ 13858

Last change on this file since 13858 was 13858, checked in by mirko, 7 years ago

adding python bindings for the "Enlightenment Foundation Libraries (EFL)"

File size: 1.1 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:=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
23include $(INCLUDE_DIR)/package.mk
24-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
25
26define Package/python-etk
27  SUBMENU:=Python
28  SECTION:=lang
29  CATEGORY:=Languages
30  TITLE:=python-etk
31  DEPENDS:=python-core etk
32endef
33
34define Package/python-etk/description
35  etk python bindings
36endef
37
38define Build/Compile
39        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
40endef
41
42define Package/python-etk/install
43        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
44        $(CP) \
45            $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
46            $(1)$(PYTHON_PKG_DIR)
47endef
48
49$(eval $(call BuildPackage,python-etk))
Note: See TracBrowser for help on using the repository browser.