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
://www.cairographics.org
/releases
/
16 #PKG_MD5SUM:=532268f02870bea18c1d465e88afff30
17 PKG_BUILD_DEPENDS
:=python cairo
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
/pycairo
28 TITLE
:=Cairo bindings to python
29 URL
:=http
://www.cairographics.org
/
30 DEPENDS
:=python
+cairo
33 define Package
/pycairo
/description
34 cairo modul for python
38 $(call Build
/Compile
/PyMod
,.
, \
39 install --prefix="$(PKG_INSTALL_DIR)/usr", \
43 $(eval
$(call PyPackage
,pycairo
))
44 $(eval
$(call BuildPackage
,pycairo
))