Changeset 20368


Ignore:
Timestamp:
2010-03-22T15:25:18+01:00 (8 years ago)
Author:
rhk
Message:

[packages] pcre: update to 8.02

Location:
packages/libs/pcre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/pcre/Makefile

    r19714 r20368  
    99 
    1010PKG_NAME:=pcre 
    11 PKG_VERSION:=8.01 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=8.02 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=@SF/pcre 
    16 PKG_MD5SUM:=413be1c23dabe91f637fb3770f640006 
     16PKG_MD5SUM:=27948c1b5f5c1eabc23cba1ebe4c316f 
    1717 
    1818PKG_FIXUP:=libtool 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
     
    3031 
    3132CONFIGURE_ARGS += \ 
    32         --enable-shared \ 
    33         --enable-static \ 
    3433        --enable-utf8 \ 
    35         --disable-cpp \ 
     34        --disable-cpp 
    3635 
    3736MAKE_FLAGS += \ 
    38         $(TARGET_CONFIGURE_OPTS) \ 
    39         CFLAGS="$(TARGET_CFLAGS)" \ 
    40         all \ 
     37        CFLAGS="$(TARGET_CFLAGS)" 
    4138 
    4239define Build/InstallDev 
    43         $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib 
    44         $(CP) $(PKG_BUILD_DIR)/pcre-config $(1)/usr/bin/ 
    45         ln -sf $(STAGING_DIR)/usr/bin/pcre-config $(2)/bin 
    46         $(CP) $(PKG_BUILD_DIR)/pcre{,posix}.h $(1)/usr/include/ 
    47         $(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.{a,so*} $(1)/usr/lib/ 
     40        $(INSTALL_DIR) $(1)/usr/bin 
     41        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pcre-config $(1)/usr/bin/ 
     42 
     43        $(INSTALL_DIR) $(2)/bin 
     44        $(LN) $(STAGING_DIR)/usr/bin/pcre-config $(2)/bin 
     45 
     46        $(INSTALL_DIR) $(1)/usr/include 
     47        $(CP) $(PKG_INSTALL_DIR)/usr/include/pcre{,posix}.h $(1)/usr/include/ 
     48 
     49        $(INSTALL_DIR) $(1)/usr/lib 
     50        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcre{,posix}.{a,so*} $(1)/usr/lib/ 
    4851endef 
    4952 
    5053define Package/libpcre/install 
    5154        $(INSTALL_DIR) $(1)/usr/lib 
    52         $(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.so.* $(1)/usr/lib/ 
     55        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcre{,posix}.so* $(1)/usr/lib/ 
    5356endef 
    5457 
  • packages/libs/pcre/patches/750-pcre_config_cross.patch

    r15247 r20368  
    1 Index: pcre-7.6/pcre-config.in 
    2 =================================================================== 
    3 --- pcre-7.6.orig/pcre-config.in        2008-02-16 11:13:56.000000000 +0100 
    4 +++ pcre-7.6/pcre-config.in     2008-02-16 11:13:57.000000000 +0100 
    5 @@ -21,6 +21,10 @@ 
     1--- a/pcre-config.in 
     2+++ b/pcre-config.in 
     3@@ -24,6 +24,10 @@ case `uname -s` in 
    64   libR=" -Wl,-R@libdir@" 
    75   ;; 
     
    1412 while test $# -gt 0; do 
    1513   case "$1" in 
    16 @@ -55,10 +59,10 @@ 
    17        echo $includes 
     14@@ -58,10 +62,10 @@ while test $# -gt 0; do 
     15       echo $includes @PCRE_STATIC_CFLAG@ 
    1816       ;; 
    1917     --libs-posix) 
     
    2523+      echo $libS$libR -lpcre 
    2624       ;; 
    27      *) 
    28        echo "${usage}" 1>&2 
     25     --libs-cpp) 
     26       if test @enable_cpp@ = yes ; then 
Note: See TracChangeset for help on using the changeset viewer.