From a239c48536053d973d272af8b9377159ade0c647 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 19 Jan 2023 13:35:52 +0000 Subject: [PATCH] duktape: New package Required by polkit. Signed-off-by: Michael Tremer --- duktape/duktape.nm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 duktape/duktape.nm diff --git a/duktape/duktape.nm b/duktape/duktape.nm new file mode 100644 index 000000000..e8ca7609f --- /dev/null +++ b/duktape/duktape.nm @@ -0,0 +1,45 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = duktape +version = 2.7.0 +release = 1 + +groups = System/Libraries +url = https://duktape.org/ +license = MIT +summary = Embeddable Javascript engine + +description + Duktape is an embeddable Javascript engine, with a focus on + portability and compact footprint. +end + +source_dl = https://duktape.org/ +sources = %{thisapp}.tar.xz + +build + make = make -f Makefile.sharedlibrary INSTALL_PREFIX=%{prefix} LIBDIR=/%{lib} + + build + %{make} %{PARALLELISMFLAGS} + end + + install + %{make} install DESTDIR=%{BUILDROOT} + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.39.2