Retain symlinks. $(INSTALL_*) copys the contens of a file, so if we want to keep
[openwrt/svn-archive/archive.git] / Xorg / lib / pixman / Makefile
1 #
2 # Copyright (C) 2008 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_BASE_NAME:=pixman
11 PKG_NAME:=pixman
12 PKG_RELEASE:=4
13 PKG_VERSION:=0.12.0
14
15 PKG_SOURCE_URL:=http://cairographics.org/releases/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_MD5SUM:=09357cc74975b01714e00c5899ea1881
18 PKG_FIXUP:=libtool
19
20 include $(INCLUDE_DIR)/package.mk
21
22 PKG_INSTALL:=1
23
24 define Package/pixman
25 SECTION:=xorg-lib
26 CATEGORY:=Xorg
27 SUBMENU:=lib
28 TITLE:=pixman
29 URL:=http://cairographics.org/
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --disable-gtk \
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))