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.

73 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:=2
  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-glibtest \
  31. --disable-gtk-doc-html \
  32. --disable-more-warnings \
  33. --disable-vala \
  34. --without-apache-httpd \
  35. --without-gnome \
  36. --without-gssapi
  37. define package/libsoup/decription
  38. Libsoup is an HTTP library implementation in C
  39. endef
  40. define Build/InstallDev
  41. $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup}
  42. $(CP) \
  43. $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \
  44. $(1)/usr/lib/
  45. $(INSTALL_DATA) \
  46. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
  47. $(1)/usr/lib/pkgconfig/
  48. $(INSTALL_DATA) \
  49. $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \
  50. $(1)/usr/include/libsoup-2.4/libsoup/
  51. endef
  52. define Package/libsoup/install
  53. $(INSTALL_DIR) $(1)/usr/lib
  54. $(CP) \
  55. $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
  56. $(1)/usr/lib/
  57. endef
  58. $(eval $(call BuildPackage,libsoup))