packages: move Xorg category to its own feed, move X-related packages as well
[openwrt/svn-archive/feeds.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
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/pixman
25 SECTION:=xorg-libraries
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))