2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://ftp.gnome.org
/pub
/GNOME
/sources
/pygtk
/2.10/
16 #PKG_MD5SUM:=532268f02870bea18c1d465e88afff30
17 #PKG_BUILD_DEPENDS:=python gtk
19 include $(INCLUDE_DIR
)/package.mk
20 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
21 ifneq ($(MAKECMDGOALS
),download
)
22 $(if
$(DUMP
)$(Build
/Compile
/PyMod
),,$(error Python packaging code not found.
))
25 define Package
/python-gtk
28 TITLE
:=GTK bindings to python
29 URL
:=http
://www.pygtk.org
/
33 define Package
/python-gtk
/description
34 API to GTK and glade library from python
38 $(call Build
/Compile
/PyMod
,.
, \
39 install --prefix="$(PKG_INSTALL_DIR)/usr", \
43 $(eval
$(call PyPackage
,python-gtk
))
44 $(eval
$(call BuildPackage
,python-gtk
))