You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.7 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=libsoup
  7. PKG_VERSION:=2.65.1
  8. PKG_RELEASE:=3
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.65
  11. PKG_HASH:=3f3718623338f1bd7d7899dae2bdb613348212d59999a27432120afc1435ff04
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_CPE_ID:=cpe:/a:gnome:libsoup
  15. PKG_BUILD_DEPENDS:=intltool/host
  16. PKG_BUILD_PARALLEL:=1
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. define Package/libsoup
  22. SECTION:=libs
  23. CATEGORY:=Libraries
  24. TITLE:=libsoup
  25. URL:=https://wiki.gnome.org/Projects/libsoup
  26. MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  27. DEPENDS:=+glib2 +libxml2 +libgnutls +libsqlite3 +libpsl $(ICONV_DEPENDS) $(INTL_DEPENDS)
  28. endef
  29. CONFIGURE_ARGS += \
  30. --disable-debug \
  31. --disable-glibtest \
  32. --disable-gtk-doc-html \
  33. --disable-introspection \
  34. --disable-more-warnings \
  35. --disable-vala \
  36. --without-apache-httpd \
  37. --without-gnome \
  38. --without-gssapi \
  39. --without-ntlm-auth
  40. define package/libsoup/decription
  41. Libsoup is an HTTP library implementation in C
  42. endef
  43. define Build/InstallDev
  44. $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup}
  45. $(CP) \
  46. $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \
  47. $(1)/usr/lib/
  48. $(INSTALL_DATA) \
  49. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
  50. $(1)/usr/lib/pkgconfig/
  51. $(INSTALL_DATA) \
  52. $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \
  53. $(1)/usr/include/libsoup-2.4/libsoup/
  54. endef
  55. define Package/libsoup/install
  56. $(INSTALL_DIR) $(1)/usr/lib
  57. $(CP) \
  58. $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
  59. $(1)/usr/lib/
  60. endef
  61. $(eval $(call BuildPackage,libsoup))