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
/$(PKG_NAME
)/2.72
14 PKG_HASH
:=170c3f8446b0f65f8e4b93603349172b1085fb8917c181d10962f02bb85f5387
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
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/nls.mk
26 include $(INCLUDE_DIR
)/meson.mk
28 define Package
/libsoup
32 URL
:=https
://wiki.gnome.org
/Projects
/libsoup
33 DEPENDS
:=+glib2
+libxml2
+libgnutls
+libsqlite3
+libpsl
$(ICONV_DEPENDS
) $(INTL_DEPENDS
)
42 -Dintrospection
=disabled \
46 -Dinstalled_tests
=false \
49 define package
/libsoup
/decription
50 Libsoup is an HTTP library implementation in C
53 define Build
/InstallDev
54 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/libsoup-2.4
/libsoup
}
57 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.so
* \
61 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
62 $(1)/usr
/lib
/pkgconfig
/
65 $(PKG_INSTALL_DIR
)/usr
/include/libsoup-2.4
/libsoup
/*.h \
66 $(1)/usr
/include/libsoup-2.4
/libsoup
/
69 define Package
/libsoup
/install
70 $(INSTALL_DIR
) $(1)/usr
/lib
72 $(PKG_INSTALL_DIR
)/usr
/lib
/libsoup-2.4.so
* \
76 $(eval
$(call BuildPackage
,libsoup
))