stress-ng: bump to version 0.17.03
[feed/packages.git] / libs / libsoup / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=libsoup
9 PKG_VERSION:=2.74.3
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNOME/libsoup/$(basename $(PKG_VERSION))
14 PKG_HASH:=e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13
15
16 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
17 PKG_LICENSE:=LGPL-2.1-or-later
18 PKG_LICENSE_FILES:=COPYING
19 PKG_CPE_ID:=cpe:/a:gnome:libsoup
20
21 PKG_BUILD_DEPENDS:=glib2/host
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/nls.mk
25 include $(INCLUDE_DIR)/meson.mk
26
27 define Package/libsoup
28 SECTION:=libs
29 CATEGORY:=Libraries
30 TITLE:=libsoup
31 URL:=https://wiki.gnome.org/Projects/libsoup
32 DEPENDS:=+glib2 +libxml2 +libgnutls +libsqlite3 +libpsl $(ICONV_DEPENDS) $(INTL_DEPENDS)
33 endef
34
35 MESON_ARGS += \
36 -Dgssapi=disabled \
37 -Dntlm=disabled \
38 -Dbrotli=disabled \
39 -Dtls_check=false \
40 -Dgnome=false \
41 -Dintrospection=disabled \
42 -Dvapi=disabled \
43 -Dgtk_doc=false \
44 -Dtests=false \
45 -Dinstalled_tests=false \
46 -Dsysprof=disabled
47
48 define package/libsoup/decription
49 Libsoup is an HTTP library implementation in C
50 endef
51
52 define Build/InstallDev
53 $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup}
54
55 $(CP) \
56 $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
57 $(1)/usr/lib/
58
59 $(INSTALL_DATA) \
60 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
61 $(1)/usr/lib/pkgconfig/
62
63 $(INSTALL_DATA) \
64 $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \
65 $(1)/usr/include/libsoup-2.4/libsoup/
66 endef
67
68 define Package/libsoup/install
69 $(INSTALL_DIR) $(1)/usr/lib
70 $(CP) \
71 $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
72 $(1)/usr/lib/
73 endef
74
75 $(eval $(call BuildPackage,libsoup))