[packages] Add missing md5sums
[openwrt/svn-archive/archive.git] / Xorg / lib / cairomm / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cairomm
11 PKG_VERSION:=1.8.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://cairographics.org/releases/
16 PKG_MD5SUM:=559afbc47484ba3fad265e38a3dafe90
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/cairomm
24 SECTION:=xorg-libs
25 CATEGORY:=Xorg
26 SUBMENU:=libraries
27 TITLE:=Multi-platform 2D graphics library
28 DEPENDS:=+libsigcxx +cairo
29 endef
30
31 define Package/cairomm/description
32 c++-bindings for cairo
33 endef
34
35 define Build/InstallDev
36 $(INSTALL_DIR) \
37 $(1)/usr/lib \
38 $(1)/usr/lib/pkgconfig \
39 $(1)/usr/include
40
41 $(CP) \
42 $(PKG_INSTALL_DIR)/usr/lib/* \
43 $(1)/usr/lib/
44
45 $(INSTALL_DATA) \
46 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
47 $(1)/usr/lib/pkgconfig/
48
49 $(CP) \
50 $(PKG_INSTALL_DIR)/usr/include/* \
51 $(1)/usr/include/
52 endef
53
54 define Package/cairomm/install
55 $(INSTALL_DIR) \
56 $(1)/usr/lib/
57 $(CP) \
58 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
59 $(1)/usr/lib/
60 endef
61
62 $(eval $(call BuildPackage,cairomm))