summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars7
-rw-r--r--vars/libffi.vars10
2 files changed, 16 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index b26347d7..5c102194 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -411,7 +411,7 @@ NATIVE_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
NATIVE_PACKAGES_DEPS_PACKAGES="
clzip expat libxml2 alsa_lib apr apr_util bzip2 libdmtx libressl libnettle
libunistring gnutls curl libz lmdb libpng libjpeg_turbo tiff giflib lcms2 libffi gdbm
-geoip pcre glib gzip libarchive libatomic_ops musl_compat libbsd libpipeline libtelnet
+geoip pcre gettext_tiny glib gzip libarchive libatomic_ops musl_compat libbsd libpipeline libtelnet
libevent libfetch libogg libvorbis libflac libtheora libsasl2 libsndfile libgpg_error libassuan
libfirm libgcrypt libksba libudns lua ncurses ncursestw ncursesw libreadline
libxslt libtirpc npth popt file xz zstd rpm libsolv tdnf shared_mime_info
@@ -501,6 +501,7 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_LIBFFI_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
: ${PKG_LIBFFI_VERSION:=3.2.1};
: ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz};
+: ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"};
: ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64};
: ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"};
: ${PKG_GDBM_SHA256SUM:=f9fde3207f67ed8a5a5ddd8ad5e7acf7b27c2cf0f20dfbdde876dcd6e3d2dc0e};
@@ -510,6 +511,10 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_PCRE_SHA256SUM:=69acbc2fbdefb955d42a4c606dfde800c2885711d2979e356c0636efde9ec3b5};
: ${PKG_PCRE_VERSION:=8.42};
: ${PKG_PCRE_URL:=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${PKG_PCRE_VERSION}.tar.gz};
+: ${PKG_GETTEXT_TINY_SHA256SUM:=95fdc541bc7bda2f93d9768533bfa9b82a4d4cd447e059e95450150bdd690e9f};
+: ${PKG_GETTEXT_TINY_VERSION:=0.3.1};
+: ${PKG_GETTEXT_TINY_URL:=http://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-${PKG_GETTEXT_TINY_VERSION}.tar.xz};
+: ${PKG_GETTEXT_TINY_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_VERSION}};
: ${PKG_GLIB_SHA256SUM:=fe22998ff0394ec31e6e5511c379b74011bee61a4421bca7fcab223dfbe0fc6a};
: ${PKG_GLIB_VERSION:=2.54.0};
: ${PKG_GLIB_URL:=http://ftp.gnome.org/pub/GNOME/sources/glib/${PKG_GLIB_VERSION%.[0-9]}/glib-${PKG_GLIB_VERSION}.tar.xz};
diff --git a/vars/libffi.vars b/vars/libffi.vars
new file mode 100644
index 00000000..db8df17d
--- /dev/null
+++ b/vars/libffi.vars
@@ -0,0 +1,10 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_libffi_install_make_post() {
+ cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffi.h" "${PREFIX_NATIVE}/include/ffi.h"
+ cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffitarget.h" "${PREFIX_NATIVE}/include/ffitarget.h"
+};
+
+# vim:filetype=sh