From 64e5893f142c75912beafe39715da53647dd2ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 May 2018 14:32:26 +0000 Subject: Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm. --- vars/build.vars | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'vars/build.vars') diff --git a/vars/build.vars b/vars/build.vars index 0ac43c63..44e89c25 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -45,6 +45,33 @@ HOST_TOOLS_PREFIX="${PREFIX}"; : ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX_NATIVE}"}; : ${PKG_PKGCONF_HOST_MAKEFLAGS_INSTALL_EXTRA:=prefix=}; +# +# Build target host_tools_rpm +# +HOST_TOOLS_RPM_BUILD_TYPE="host"; +HOST_TOOLS_RPM_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX}"; +HOST_TOOLS_RPM_MAKEFLAGS_INSTALL_EXTRA="prefix="; +HOST_TOOLS_RPM_PACKAGES="libarchive_host libressl_host lmdb_host popt_host rpm_host"; +HOST_TOOLS_RPM_PREFIX="${PREFIX}"; +: ${PKG_LIBARCHIVE_HOST_SHA256SUM:=ed2dbd6954792b2c054ccf8ec4b330a54b85904a80cef477a1c74643ddafa0ce}; +: ${PKG_LIBARCHIVE_HOST_VERSION:=3.3.2}; +: ${PKG_LIBARCHIVE_HOST_URL:=http://www.libarchive.org/downloads/libarchive-${PKG_LIBARCHIVE_HOST_VERSION}.tar.gz}; +: ${PKG_LIBRESSL_HOST_SHA256SUM:=917a8779c342177ff3751a2bf955d0262d1d8916a4b408930c45cef326700995}; +: ${PKG_LIBRESSL_HOST_VERSION:=2.7.2}; +: ${PKG_LIBRESSL_HOST_URL:=http://ftp.eu.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_HOST_VERSION}.tar.gz}; +: ${PKG_LMDB_HOST_URLS_GIT:="lmdb=https://github.com/Redfoxmoon3/lmdb.git@mdb.master"}; +: ${PKG_LMDB_HOST_IN_TREE:=1}; +: ${PKG_POPT_HOST_SHA256SUM:=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8}; +: ${PKG_POPT_HOST_VERSION:=1.16}; +: ${PKG_POPT_HOST_URL:=http://rpm5.org/files/popt/popt-${PKG_POPT_HOST_VERSION}.tar.gz}; +: ${PKG_RPM_HOST_SHA256SUM:=43f40e2ccc3ca65bd3238f8c9f8399d4957be0878c2e83cba2746d2d0d96793b}; +: ${PKG_RPM_HOST_VERSION:=4.14.1}; +: ${PKG_RPM_HOST_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_HOST_VERSION%.*}.x/rpm-${PKG_RPM_HOST_VERSION}.tar.bz2}; +: ${PKG_RPM_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"}; +: ${PKG_RPM_HOST_CONFIGURE_ARGS_EXTRA:="-without-lua --enable-ndb --enable-lmdb --enable-bdb=no --with-crypto=openssl --with-vendor=midipix"}; +: ${PKG_RPM_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib"}; +: ${PKG_RPM_HOST_ENV_VARS_EXTRA:="PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig"}; + # # Build target host_toolchain_deps # @@ -394,8 +421,6 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python"; : ${PKG_LIBZ_VERSION:=1.2.8.2015.12.26}; : ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz}; : ${PKG_LIBZ_CONFIGURE_ARGS:=--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}}; -: ${PKG_LMDB_URLS_GIT:="lmdb=https://github.com/Redfoxmoon3/lmdb.git@mdb.master"}; -: ${PKG_LMDB_IN_TREE:=1}; : ${PKG_LIBPNG_SHA256SUM:=2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6}; : ${PKG_LIBPNG_VERSION:=1.6.34}; : ${PKG_LIBPNG_URL:=https://sourceforge.mirrorservice.org/l/li/libpng/libpng16/${PKG_LIBPNG_VERSION}/libpng-${PKG_LIBPNG_VERSION}.tar.xz}; @@ -1277,7 +1302,7 @@ INVARIANTS_PACKAGES="invariants_digest invariants_gitref invariants_tarballs"; # Build targets # TARGETS_DEFAULT=" -host_tools host_toolchain_deps host_toolchain host_toolchain_mingw32 +host_tools host_tools_rpm host_toolchain_deps host_toolchain host_toolchain_mingw32 native_tools native_toolchain_deps native_toolchain native_toolchain_mingw32 native_runtime host_packages_deps native_packages_deps native_packages_deps_x11 native_packages -- cgit v1.2.3