2 # Copyright (C) 2008-2010 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://cairographics.org/releases/
16 PKG_MD5SUM:=559afbc47484ba3fad265e38a3dafe90
21 include $(INCLUDE_DIR)/package.mk
23 define Package/cairomm
27 TITLE:=Multi-platform 2D graphics library
28 DEPENDS:=+libsigcxx +cairo
31 define Package/cairomm/description
32 c++-bindings for cairo
35 define Build/InstallDev
38 $(1)/usr/lib/pkgconfig \
42 $(PKG_INSTALL_DIR)/usr/lib/* \
46 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
47 $(1)/usr/lib/pkgconfig/
50 $(PKG_INSTALL_DIR)/usr/include/* \
54 define Package/cairomm/install
58 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
62 $(eval $(call BuildPackage,cairomm))