Changeset 19028


Ignore:
Timestamp:
2010-01-03T22:47:00+01:00 (8 years ago)
Author:
lars
Message:

[package] Upgrade libsoup to 2.28.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libsoup/Makefile

    r18675 r19028  
    1 # 
    2 # Copyright (C) 2009 OpenWrt.org 
    3 # 
    4 # This is free software, licensed under the GNU General Public License v2. 
    5 # See /LICENSE for more information. 
    6 # 
    7 # This Makefile is a skeleton 
    8 # 
    9  
    101include $(TOPDIR)/rules.mk 
    112 
    123PKG_NAME:=libsoup 
    13 PKG_VERSION:=2.26.3 
     4PKG_VERSION:=2.28.2 
    145PKG_RELEASE:=1 
     6 
     7PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     8PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.28 
     9PKG_MD5SUM:=31d7ad416005eed4b78f07ac01b6b9f0 
     10 
     11PKG_FIXUP:=libtool 
    1512PKG_INSTALL:=1 
    16 PKG_SOURCE:=libsoup-$(PKG_VERSION).tar.gz 
    17 PKG_SOURCE_URL:=@GNOME/libsoup/2.26 
    18 PKG_MD5SUM:=c893b5499c77b995244d968dbf4eeb51 
    19 PKG_CAT:=zcat 
    20  
    21 PKG_BUILD_DIR:=$(BUILD_DIR)/libsoup-$(PKG_VERSION) 
    2213 
    2314include $(INCLUDE_DIR)/package.mk 
     15 
     16TARGET_CFLAGS+=\ 
     17        -I$(STAGING_DIR)/usr/lib/libintl/include/ \ 
     18        -I$(STAGING_DIR)/usr/lib/libiconv/include/ 
     19 
     20TARGET_LDFLAGS+=\ 
     21        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ 
     22        -L$(STAGING_DIR)/usr/lib/libintl/lib/ \ 
     23        -L$(STAGING_DIR)/usr/lib/libiconv/lib/ 
    2424 
    2525define Package/libsoup 
    2626  SECTION:=libs 
    2727  CATEGORY:=Libraries 
    28   DEPENDS:=+glib2 +libxml2 
    2928  TITLE:=libsoup 
    30   URL:=http://live.gnome.org/LibSoup/ 
    31 endef 
    32  
    33 define Package/libsoup/decription 
    34   Libsoup is an HTTP library implementation in C 
     29  URL:=http://live.gnome.org/LibSoup 
     30  DEPENDS:=+glib2 +libxml2 +libgnutls 
    3531endef 
    3632 
    3733define Build/Configure 
    3834        $(call Build/Configure/Default, \ 
    39                 --without-gnome \ 
    40          ) 
     35                --enable-ssl \ 
     36                --disable-glibtest \ 
     37                --without-apache-httpd \ 
     38                --without-gnome \ 
     39        ) 
     40endef 
     41 
     42define package/libsoup/decription 
     43Libsoup is an HTTP library implementation in C 
    4144endef 
    4245 
    4346define Build/InstallDev 
    44         $(INSTALL_DIR) $(1)/usr/include/ 
     47        $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup} 
     48 
    4549        $(CP) \ 
    46                 $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/ \ 
    47                 $(1)/usr/include/ 
    48         $(INSTALL_DIR) $(1)/usr/lib/ 
    49         $(CP) \ 
    50                 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \ 
     50                $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \ 
    5151                $(1)/usr/lib/ 
    52         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ 
     52 
    5353        $(INSTALL_DATA) \ 
    54                 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ 
     54                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ 
    5555                $(1)/usr/lib/pkgconfig/ 
     56 
     57        $(INSTALL_DATA) \ 
     58                $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \ 
     59                $(1)/usr/include/libsoup-2.4/libsoup/ 
    5660endef 
    5761 
    5862define Package/libsoup/install 
    59         $(INSTALL_DIR) $(1)/usr/lib/ 
     63        $(INSTALL_DIR) $(1)/usr/lib 
    6064        $(CP) \ 
    61                 $(PKG_INSTALL_DIR)/usr/lib/*.so* \ 
     65                $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \ 
    6266                $(1)/usr/lib/ 
    6367endef 
Note: See TracChangeset for help on using the changeset viewer.