summaryrefslogtreecommitdiff
path: root/package/libwpe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libwpe/Makefile')
-rw-r--r--package/libwpe/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libwpe/Makefile b/package/libwpe/Makefile
new file mode 100644
index 000000000..bf633fde4
--- /dev/null
+++ b/package/libwpe/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libwpe
+PKG_VERSION:= 1.16.2
+PKG_RELEASE:= 1
+PKG_HASH:= 960bdd11c3f2cf5bd91569603ed6d2aa42fd4000ed7cac930a804eac367888d7
+PKG_DESCR:= general purpose library for wpe
+PKG_SECTION:= libs/misc
+PKG_DEPENDS:= libxkbcommon
+PKG_BUILDDEP:= libxkbcommon
+PKG_URL:= https://wpewebkit.org
+PKG_SITES:= https://wpewebkit.org/releases/
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBWPE,libwpe,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= cmake
+CMAKE_FLAGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
+libwpe-install:
+ $(INSTALL_DIR) $(IDIR_LIBWPE)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libwpe*.so* \
+ $(IDIR_LIBWPE)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk