summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars6
-rw-r--r--vars/libasr.vars9
2 files changed, 14 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index b2896764..98115532 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -702,7 +702,7 @@ NATIVE_PACKAGES_DEPS_CONFIGURE_ARGS="-C --disable-nls --host=${DEFAULT_TARGET} -
NATIVE_PACKAGES_DEPS_LDFLAGS_CONFIGURE="--sysroot=${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
NATIVE_PACKAGES_DEPS_PACKAGES="
-libatomic_ops bdwgc clzip expat libxml2 alsa_lib apr apr_util bzip2
+libasr libatomic_ops bdwgc clzip expat libxml2 alsa_lib apr apr_util bzip2
libdmtx libressl libnettle libunistring gnutls lmdb libpcap libpng
libjpeg_turbo tiff giflib lcms2 openjpeg libffi gdbm geoip pcre
gettext_tiny glib gzip musl_compat musl_fts libzip libbsd libpipeline
@@ -713,6 +713,10 @@ shared_mime_info sqlite3 w32api w32lib cmake qrencode tcl util_linux
slang utf8proc";
NATIVE_PACKAGES_DEPS_PREFIX="${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python2";
+: ${PKG_LIBASR_SHA256SUM:=9cd88e0172e6d426438875e09229d1d473d56db546d02b630f9dd14db226d68d};
+: ${PKG_LIBASR_VERSION:=1.0.3};
+: ${PKG_LIBASR_URL:=https://www.opensmtpd.org/archives/libasr-${PKG_LIBASR_VERSION}.tar.gz};
+: ${PKG_LIBASR_IN_TREE:=1};
: ${PKG_LIBATOMIC_OPS_SHA256SUM:=587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af};
: ${PKG_LIBATOMIC_OPS_VERSION:=7.6.10};
: ${PKG_LIBATOMIC_OPS_URL:=https://github.com/ivmai/libatomic_ops/releases/download/v${PKG_LIBATOMIC_OPS_VERSION}/libatomic_ops-${PKG_LIBATOMIC_OPS_VERSION}.tar.gz};
diff --git a/vars/libasr.vars b/vars/libasr.vars
new file mode 100644
index 00000000..a7a747c8
--- /dev/null
+++ b/vars/libasr.vars
@@ -0,0 +1,9 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_libasr_configure_autotools_pre() {
+ autoreconf -iv;
+};
+
+# vim:filetype=sh