2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=@GNOME
/libsoup
/$(basename $(PKG_VERSION
))
14 PKG_HASH
:=e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13
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
21 PKG_BUILD_DEPENDS
:=glib2
/host
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/nls.mk
25 include $(INCLUDE_DIR
)/meson.mk
27 define Package
/libsoup
31 URL
:=https
://wiki.gnome.org
/Projects
/libsoup
32 DEPENDS
:=+glib2
+libxml2
+libgnutls
+libsqlite3
+libpsl
$(ICONV_DEPENDS
) $(INTL_DEPENDS
)
41 -Dintrospection
=disabled \
45 -Dinstalled_tests
=false \
48 define package
/libsoup
/decription
49 Libsoup is an HTTP library implementation in C
52 define Build
/InstallDev
53 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/libsoup-2.4
/libsoup
}
56 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.so
* \
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
61 $(1)/usr
/lib
/pkgconfig
/
64 $(PKG_INSTALL_DIR
)/usr
/include/libsoup-2.4
/libsoup
/*.h \
65 $(1)/usr
/include/libsoup-2.4
/libsoup
/
68 define Package
/libsoup
/install
69 $(INSTALL_DIR
) $(1)/usr
/lib
71 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.so
* \
75 $(eval
$(call BuildPackage
,libsoup
))