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.54
16 PKG_MD5SUM:=73b1fb774de16c29b380f87016f9f9dd
19 PKG_LICENSE_FILES:=COPYING
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/nls.mk
28 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv)
30 define Package/libsoup
34 URL:=http://live.gnome.org/LibSoup
35 MAINTAINER:=W. Michael Petullo <mike@flyn.org>
36 DEPENDS:=+glib2 +libxml2 +libgnutls +libsqlite3 $(ICONV_DEPENDS) $(INTL_DEPENDS)
39 define Build/Configure
40 $(call Build/Configure/Default, \
43 --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))