summaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control70
-rw-r--r--debian/copyright20
-rw-r--r--debian/libucode-dev.install2
-rw-r--r--debian/libucode.install1
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/ucode-modules.install1
-rw-r--r--debian/ucode.install1
9 files changed, 113 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..66697c9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ucode (0.0.20220322-1) UNRELEASED; urgency=medium
+
+ * Initial release.
+
+ -- Paul Spooren <mail@aparcar.org> Sun, 20 Mar 2022 07:13:26 -0700
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5e9d7f3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,70 @@
+Source: ucode
+Maintainer: Paul Spooren <mail@aparcar.org>
+Section: misc
+Priority: optional
+Standards-Version: 0.0.20220322-1
+Build-Depends: debhelper-compat (= 12), libjson-c-dev
+
+Package: ucode
+Architecture: any
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tiny scripting language with ECMA script syntax
+ Ucode is a tiny script language featuring ECMA script syntax, builtin JSON
+ support and templating using Jinja inspired markup. The ucode VM is provided
+ as shared library with a C API allowing embedding into host applications and
+ interchanging data between ucode and C programs. The ucode VM can also be
+ used as stand-alone multi purpose scripting language through the provided
+ ucode cli interpreter.
+ .
+ This package contains the ucode command line interpreter, which is required
+ to develop, debug and precompile ucode scripts.
+
+Package: ucode-modules
+Architecture: any
+Multi-Arch: foreign
+Depends: libucode (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Extension modules for the ucode language
+ Ucode is a tiny script language featuring ECMA script syntax, builtin JSON
+ support and templating using Jinja inspired markup. The ucode VM is provided
+ as shared library with a C API allowing embedding into host applications and
+ interchanging data between ucode and C programs. The ucode VM can also be
+ used as stand-alone multi purpose scripting language through the provided
+ ucode cli interpreter.
+ .
+ This package contains various native ucode extensions which provide further
+ functionality such as filesystem access, math functions etc.
+
+Package: libucode
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: libs
+Description: Shared library for the ucode interpreter
+ Ucode is a tiny script language featuring ECMA script syntax, builtin JSON
+ support and templating using Jinja inspired markup. The ucode VM is provided
+ as shared library with a C API allowing embedding into host applications and
+ interchanging data between ucode and C programs. The ucode VM can also be
+ used as stand-alone multi purpose scripting language through the provided
+ ucode cli interpreter.
+ .
+ This package contains the libucode VM runtime, it should not be needed to
+ install it explicitly.
+
+Package: libucode-dev
+Architecture: any
+Multi-Arch: same
+Depends: libucode (= ${binary:Version}), libc6-dev|libc-dev, ${misc:Depends}
+Section: libdevel
+Description: Development files for the ucode VM library
+ Ucode is a tiny script language featuring ECMA script syntax, builtin JSON
+ support and templating using Jinja inspired markup. The ucode VM is provided
+ as shared library with a C API allowing embedding into host applications and
+ interchanging data between ucode and C programs. The ucode VM can also be
+ used as stand-alone multi purpose scripting language through the provided
+ ucode cli interpreter.
+ .
+ This package contains the development header to interface with the libucode
+ VM runtime, which is required when developing programs or extensions using
+ the ucode C API.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4bbf4cc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: github.com/jow-/ucode
+Source: https://github.com/jow-/ucode
+
+Files: *
+Copyright: 2021 Jo-Philipp Wich <jo@main.io>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/libucode-dev.install b/debian/libucode-dev.install
new file mode 100644
index 0000000..d67dd0b
--- /dev/null
+++ b/debian/libucode-dev.install
@@ -0,0 +1,2 @@
+usr/include/ucode
+usr/lib/libucode.so
diff --git a/debian/libucode.install b/debian/libucode.install
new file mode 100644
index 0000000..b51a4d9
--- /dev/null
+++ b/debian/libucode.install
@@ -0,0 +1 @@
+usr/lib/libucode.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a55477a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -D SOVERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: 0\.0\.([0-9]+).*$$/\1/p') \
+ -D NL80211_SUPPORT=OFF \
+ -D RTNL_SUPPORT=OFF \
+ -D UBUS_SUPPORT=OFF \
+ -D UCI_SUPPORT=OFF \
+ -D ULOOP_SUPPORT=OFF
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/ucode-modules.install b/debian/ucode-modules.install
new file mode 100644
index 0000000..7f12d08
--- /dev/null
+++ b/debian/ucode-modules.install
@@ -0,0 +1 @@
+usr/lib/ucode/*.so
diff --git a/debian/ucode.install b/debian/ucode.install
new file mode 100644
index 0000000..094fc8d
--- /dev/null
+++ b/debian/ucode.install
@@ -0,0 +1 @@
+usr/bin/u*