2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@GNOME
/$(PKG_NAME
)/2.53
16 PKG_MD5SUM
:=dc23612d6365a0b8a6a650ffe0bdcb4c
19 PKG_LICENSE_FILES
:=COPYING
22 PKG_REMOVE_FILES
:=m4
/intltool.m4
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
29 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
$(if
$(ICONV_FULL
),-liconv
)
31 define Package
/libsoup
35 URL
:=http
://live.gnome.org
/LibSoup
36 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
37 DEPENDS
:=+glib2
+libxml2
+libgnutls
+libsqlite3
$(ICONV_DEPENDS
) $(INTL_DEPENDS
)
40 define Build
/Configure
41 $(call Build
/Configure
/Default
, \
44 --without-apache-httpd \
47 --disable-more-warnings \
51 define package
/libsoup
/decription
52 Libsoup is an HTTP library implementation in C
55 define Build
/InstallDev
56 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/libsoup-2.4
/libsoup
}
59 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.
{so
*,la
,a
} \
63 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
64 $(1)/usr
/lib
/pkgconfig
/
67 $(PKG_INSTALL_DIR
)/usr
/include/libsoup-2.4
/libsoup
/*.h \
68 $(1)/usr
/include/libsoup-2.4
/libsoup
/
71 define Package
/libsoup
/install
72 $(INSTALL_DIR
) $(1)/usr
/lib
74 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.so
* \
78 $(eval
$(call BuildPackage
,libsoup
))