[packages] add missing & update current urls
[packages.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   URL:=http://cairographics.org/cairomm/
30 endef
31
32 define Package/cairomm/description
33 c++-bindings for cairo
34 endef
35
36 define Build/InstallDev
37         $(INSTALL_DIR) \
38                 $(1)/usr/lib \
39                 $(1)/usr/lib/pkgconfig \
40                 $(1)/usr/include
41
42         $(CP) \
43                 $(PKG_INSTALL_DIR)/usr/lib/* \
44                 $(1)/usr/lib/
45
46         $(INSTALL_DATA) \
47                 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
48                 $(1)/usr/lib/pkgconfig/
49
50         $(CP) \
51                 $(PKG_INSTALL_DIR)/usr/include/* \
52                 $(1)/usr/include/
53 endef
54
55 define Package/cairomm/install
56         $(INSTALL_DIR) \
57                 $(1)/usr/lib/
58         $(CP) \
59                 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
60                 $(1)/usr/lib/
61 endef
62
63 $(eval $(call BuildPackage,cairomm))