Changeset 26000


Ignore:
Timestamp:
2011-03-10T12:59:12+01:00 (7 years ago)
Author:
swalker
Message:

[packages] apr-util: update to 1.3.10 (CVE-2010-1623), use PKG_INSTALL and MAKE_FLAGS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/apr-util/Makefile

    r25319 r26000  
    11# 
    2 # Copyright (C) 2007-2009 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=apr-util 
    11 PKG_VERSION:=1.3.9 
     11PKG_VERSION:=1.3.10 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    15 PKG_SOURCE_URL:=http://apache.autinity.de/apr/ 
    16 PKG_MD5SUM:=29dd557f7bd891fc2bfdffcfa081db59 
     15PKG_SOURCE_URL:=http://apache.autinity.de/apr 
     16PKG_MD5SUM:=6a6f501a1b2a45166b8ffd6df29204bb 
    1717 
    18 PKG_FIXUP = libtool 
     18PKG_FIXUP:=libtool 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
     
    2425  SECTION:=libs 
    2526  CATEGORY:=Libraries 
    26   DEPENDS:=+libapr +libexpat +libpthread +libsqlite3 +libuuid $(ICONV_DEPENDS) 
     27  DEPENDS:=+libapr +libexpat +libsqlite3 +libuuid $(ICONV_DEPENDS) 
    2728  TITLE:=Apache Portable Runtime Utility Library 
    2829  URL:=http://apr.apache.org/ 
    2930endef 
    30  
    3131 
    3232TARGET_CFLAGS += $(FPIC) 
     
    4343        APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1" \ 
    4444 
    45 define Build/Compile 
    46         $(MAKE) -C $(PKG_BUILD_DIR) APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat $(if $(ICONV_FULL),-liconv) -lapr-1 -luuid -lm -lcrypt" all 
    47         $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install 
    48 endef 
     45MAKE_FLAGS += \ 
     46        APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat $(if $(ICONV_FULL),-liconv) -lapr-1 -luuid -lm -lcrypt" \ 
    4947 
    5048define Build/InstallDev 
     
    6563endef 
    6664 
    67 define Package/libaprutil/install        
     65define Package/libaprutil/install 
    6866        $(INSTALL_DIR) $(1)/usr/lib 
    6967        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.so.* $(1)/usr/lib/ 
Note: See TracChangeset for help on using the changeset viewer.