Update pixman to 0.14
[openwrt/svn-archive/archive.git] / Xorg / lib / pixman / Makefile
1 #
2 # Copyright (C) 2008-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=pixman
12 PKG_RELEASE:=1
13 PKG_VERSION:=0.14.0
14
15 PKG_SOURCE_URL:=http://cairographics.org/releases/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_MD5SUM:=da330524bbd975271974378b1c5e7b5d
18
19 PKG_FIXUP:=libtool
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/pixman
25 SECTION:=xorg-lib
26 CATEGORY:=Xorg
27 SUBMENU:=libraries
28 TITLE:=pixman
29 URL:=http://cairographics.org/
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --disable-gtk \
35 --disable-arm-simd \
36 )
37 endef
38
39 define Build/InstallDev
40 $(INSTALL_DIR) $(1)
41 $(CP) $(PKG_INSTALL_DIR)/* $(1)
42 endef
43
44 define Package/pixman/install
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) \
47 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
48 $(1)/usr/lib/
49 endef
50
51 $(eval $(call BuildPackage,pixman))