[packages] use xorg-libraries as the section definition for Xorg libraries
[openwrt/svn-archive/archive.git] / Xorg / lib / pixman / 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:=pixman
11 PKG_RELEASE:=1
12 PKG_VERSION:=0.16.2
13
14 PKG_SOURCE_URL:=http://cairographics.org/releases/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=02bd3669f53c404c19980d5efb6f86fb
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/pixman
24 SECTION:=xorg-libraries
25 CATEGORY:=Xorg
26 SUBMENU:=libraries
27 TITLE:=pixman
28 URL:=http://cairographics.org/
29 endef
30
31 define Build/Configure
32 $(call Build/Configure/Default, \
33 --disable-gtk \
34 --disable-arm-simd \
35 )
36 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(1)
40 $(CP) $(PKG_INSTALL_DIR)/* $(1)
41 endef
42
43 define Package/pixman/install
44 $(INSTALL_DIR) $(1)/usr/lib
45 $(CP) \
46 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
47 $(1)/usr/lib/
48 endef
49
50 $(eval $(call BuildPackage,pixman))