Update cairo from 1.2.4 to 1.6.4 and remove usless stuff from Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11144 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
043a011660
commit
32a4def34f
@ -1,20 +1,20 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2008 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
# blogic@openwrt.org
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cairo
|
PKG_NAME:=cairo
|
||||||
PKG_VERSION:=1.2.4
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:= http://cairographics.org/releases/
|
PKG_SOURCE_URL:=http://cairographics.org/releases/
|
||||||
PKG_FIXUP = libtool
|
PKG_FIXUP = libtool
|
||||||
|
PKG_MD5SUM:=a198d509f9e3a35b78de8bb02174ebb9
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -23,20 +23,12 @@ define Package/cairo
|
|||||||
CATEGORY:=Xorg
|
CATEGORY:=Xorg
|
||||||
SUBMENU:=libraries
|
SUBMENU:=libraries
|
||||||
TITLE:=2D graphics library with support for multiple output devices
|
TITLE:=2D graphics library with support for multiple output devices
|
||||||
DEPENDS:=+xorg-server-essentials +fontconfig +libpng
|
DEPENDS:=+xorg-server-essentials +fontconfig +libpng +libexpat
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_VARS += FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
|
||||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
CONFIGURE_ARGS += --enable-freetype=yes
|
||||||
if [ -x $(CONFIGURE_CMD) ]; then \
|
TARGET_CFLAGS += -L$(STAGING_DIR)/usr/lib
|
||||||
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
|
|
||||||
$(CONFIGURE_VARS) \
|
|
||||||
$(CONFIGURE_CMD) \
|
|
||||||
$(CONFIGURE_ARGS_XTRA) \
|
|
||||||
$(CONFIGURE_ARGS) ;\
|
|
||||||
fi \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user