summaryrefslogtreecommitdiffhomepage
path: root/groups
diff options
context:
space:
mode:
Diffstat (limited to 'groups')
-rw-r--r--groups/000.host_tools.group31
-rw-r--r--groups/010.host_deps.group37
-rw-r--r--groups/020.host_deps_rpm.group4
-rw-r--r--groups/030.host_toolchain.group7
-rw-r--r--groups/100.native_tools.group13
-rw-r--r--groups/110.native_toolchain.group5
-rw-r--r--groups/120.native_runtime.group10
-rw-r--r--groups/211.native_packages_cmdline.group33
-rw-r--r--groups/221.native_packages_dev.group6
-rw-r--r--groups/231.native_packages_etc.group41
-rw-r--r--groups/251.native_packages_lib.group26
-rw-r--r--groups/261.native_packages_x11.group11
-rw-r--r--groups/800.minipix.group17
13 files changed, 184 insertions, 57 deletions
diff --git a/groups/000.host_tools.group b/groups/000.host_tools.group
index 7ec354bc..310dee5e 100644
--- a/groups/000.host_tools.group
+++ b/groups/000.host_tools.group
@@ -17,6 +17,22 @@ HOST_TOOLS_PREFIX="${PREFIX}";
: ${PKG_AUTOCONF_2_64_HOST_SHA256SUM:=32d977213320b8ae76c71175305301197f2b0e04e72d70694bc3d3e2ae6c7248};
: ${PKG_AUTOCONF_2_64_HOST_VERSION:=2.64};
: ${PKG_AUTOCONF_2_64_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_2_64_HOST_VERSION}.tar.xz};
+: ${PKG_AUTOCONF_2_64_HOST_INSTALL_FILES_V2:="
+ /=libexec/autoconf-2.64
+ !bin/%<*>=libexec/autoconf-2.64/%[FNAME]
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoconf-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoheader-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autom4te-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoreconf-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoscan-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoupdate-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/ifnames-2.64
+ !share/autoconf-2.64/autom4te.cfg=share/autoconf/autom4te.cfg
+ -=share/autoconf-2.64/
+ !share/autoconf=share/autoconf-2.64/
+ -=share/info/dir
+ !share/info/%<*.info>=share/info/%[FNAME%.info]-2.64.info
+ !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-2.64.1"};
: ${PKG_AUTOMAKE_HOST_DEPENDS:="autoconf_host pkgconf_host slibtool_host"};
: ${PKG_AUTOMAKE_HOST_SHA256SUM:=ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a};
: ${PKG_AUTOMAKE_HOST_VERSION:=1.16.3};
@@ -25,13 +41,24 @@ HOST_TOOLS_PREFIX="${PREFIX}";
: ${PKG_AUTOMAKE_1_11_6_HOST_SHA256SUM:=1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5};
: ${PKG_AUTOMAKE_1_11_6_HOST_VERSION:=1.11.6};
: ${PKG_AUTOMAKE_1_11_6_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_1_11_6_HOST_VERSION}.tar.xz};
+: ${PKG_AUTOMAKE_1_11_6_HOST_INSTALL_FILES_V2:="
+ -=bin/%<*-1.11>
+ !bin/%<*>=bin/%[FNAME]-1.11
+ -=share/info/dir
+ !share/doc/automake=share/doc/automake-1.11.6
+ !share/info/%<*.info*>=share/info/%[FNAME%.info*]-1.11.6.%[FNAME#*.]
+ !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-1.11.6.1"};
: ${PKG_GETTEXT_TINY_HOST_DEPENDS:="pkgconf_host slibtool_host"};
: ${PKG_GETTEXT_TINY_HOST_SHA256SUM:=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383};
: ${PKG_GETTEXT_TINY_HOST_VERSION:=0.3.2};
: ${PKG_GETTEXT_TINY_HOST_URL:=https://toolchains.bootlin.com/downloads/releases/sources/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}.tar.gz};
: ${PKG_GETTEXT_TINY_HOST_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}};
: ${PKG_GETTEXT_TINY_HOST_MAKEFLAGS_BUILD_EXTRA:="prefix=${PREFIX}"};
+: ${PKG_INSTALL_STRIP_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
: ${PKG_INSTALL_STRIP_HOST_NO_LOG_VARS:=1};
+: ${PKG_INSTALL_STRIP_HOST_INSTALL_FILES_V2:="
+ +%[_files]/bin/\%[_target]-install-strip=bin/%[_target]-install-strip
+ m0755=bin/%[_target]-install-strip"};
: ${PKG_LIBTOOL_HOST_DEPENDS:="autoconf_host automake_host pkgconf_host slibtool_host"}:
: ${PKG_LIBTOOL_HOST_SHA256SUM:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f};
: ${PKG_LIBTOOL_HOST_VERSION:=2.4.6};
@@ -46,6 +73,10 @@ HOST_TOOLS_PREFIX="${PREFIX}";
: ${PKG_PKGCONF_HOST_VERSION:=1.8.0};
: ${PKG_PKGCONF_HOST_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX} --with-system-libdir=${PREFIX_NATIVE}/lib --with-system-includedir=${PREFIX_NATIVE}/include --with-pkg-config-dir=${PREFIX_NATIVE}/lib/pkgconfig --with-personality-dir=${PREFIX_NATIVE}/share/pkgconfig/personality.d"};
+: ${PKG_PKGCONF_HOST_INSTALL_FILES_V2:="
+ @pkgconf=bin/pkg-config
+ +%[_files]/bin/\%[_target]-pkg-config=bin/%[_target]-pkg-config
+ m0755=bin/%[_target]-pkg-config"};
: ${PKG_SLIBTOOL_HOST_URLS_GIT:="slibtool=${DEFAULT_GITROOT}/slibtool"};
: ${PKG_SLIBTOOL_HOST_CONFIGURE_ARGS:=--prefix=};
: ${PKG_TPAX_HOST_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
diff --git a/groups/010.host_deps.group b/groups/010.host_deps.group
index 01ca1c0b..d9e44a14 100644
--- a/groups/010.host_deps.group
+++ b/groups/010.host_deps.group
@@ -51,9 +51,11 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_CA_CERTIFICATES_HOST_ENV_VARS_EXTRA:="HOST_CC=gcc"};
: ${PKG_CA_CERTIFICATES_HOST_VARS_FILE:="vars/ca_certificates.vars"};
: ${PKG_CHAINPORT_HOST_URLS_GIT:="chainport=${DEFAULT_GITROOT}/ports/chainport"};
-: ${PKG_CHAINPORT_HOST_BUILD_STEPS_DISABLE:="build"};
+: ${PKG_CHAINPORT_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
: ${PKG_CHAINPORT_HOST_NO_LOG_VARS:=1};
-: ${PKG_CHAINPORT_HOST_PREFIX:=${PREFIX}};
+: ${PKG_CHAINPORT_HOST_INSTALL_FILES_V2:="
+ -=%[_workdir]/chainport
+ +../chainport=%[_workdir]/chainport"};
: ${PKG_CLANG_HOST_DEPENDS:="llvm_host"};
: ${PKG_CLANG_HOST_SHA256SUM:=4cd3836dfb4b88b597e075341cae86d61c63ce3963e45c7fe6a8bf59bb382cdf};
: ${PKG_CLANG_HOST_VERSION:=3.8.1};
@@ -71,7 +73,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_CLZIP_HOST_VERSION:=1.11};
: ${PKG_CLZIP_HOST_URL:=http://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_HOST_VERSION}.tar.gz};
: ${PKG_CLZIP_HOST_IN_TREE:=1};
-: ${PKG_CLZIP_HOST_INSTALL_FILES:="@clzip=bin/lzip"};
+: ${PKG_CLZIP_HOST_INSTALL_FILES_V2:="@clzip=bin/lzip"};
: ${PKG_CMAKE_HOST_DEPENDS:="bzip2_host musl_fts_host ncurses_host"};
: ${PKG_CMAKE_HOST_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
: ${PKG_CMAKE_HOST_VERSION:=3.7.2};
@@ -81,12 +83,15 @@ HOST_DEPS_PREFIX="${PREFIX}";
-DCURSES_NCURSES_LIBRARY=${PREFIX}/lib/libncurses.so
-DLIBMD_LIBRARY=
"};
-: ${PKG_CMAKE_HOST_INSTALL_FILES:="../cmake-${PKG_CMAKE_HOST_VERSION}/Modules/Platform/BSDOS.cmake=share/cmake-${PKG_CMAKE_HOST_VERSION%.*}/Modules/Platform/Midipix.cmake"};
+: ${PKG_CMAKE_HOST_INSTALL_FILES_V2:="+../cmake-${PKG_CMAKE_HOST_VERSION}/Modules/Platform/BSDOS.cmake=share/cmake-${PKG_CMAKE_HOST_VERSION%.*}/Modules/Platform/Midipix.cmake"};
: ${PKG_DBUS_HOST_DEPENDS:="expat_host"};
: ${PKG_DBUS_HOST_VERSION:=1.11.20};
: ${PKG_DBUS_HOST_URL:=https://dbus.freedesktop.org/releases/dbus/dbus-${PKG_DBUS_HOST_VERSION}.tar.gz};
: ${PKG_DBUS_HOST_SHA256SUM:=7fd9d0536f7ec2f2afc94b84d5b5487f88c464e8d47c661d8e0b54aa83974bfa};
: ${PKG_DBUS_HOST_CONFIGURE_ARGS_EXTRA:="--disable-tests --with-dbus-daemondir=/bin"};
+: ${PKG_DBUS_HOST_INSTALL_FILES_V2:="
+ -=etc/%<*>
+ -=var/%<*>"};
: ${PKG_EXPAT_HOST_SHA256SUM:=caa34f99b6e3bcea8502507eb6549a0a84510b244a748dfb287271b2d47467a9};
: ${PKG_EXPAT_HOST_VERSION:=2.3.0};
: ${PKG_EXPAT_HOST_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_HOST_VERSION}.tar.xz};
@@ -141,7 +146,9 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_LIBFFI_HOST_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
: ${PKG_LIBFFI_HOST_VERSION:=3.2.1};
: ${PKG_LIBFFI_HOST_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.tar.gz};
-: ${PKG_LIBFFI_HOST_INSTALL_FILES:="@../lib/libffi-3.2.1/include/ffi.h=include/ffi.h @../lib/libffi-3.2.1/include/ffitarget.h=include/ffitarget.h"};
+: ${PKG_LIBFFI_HOST_INSTALL_FILES_V2:="
+ @../lib/libffi-3.2.1/include/ffi.h=include/ffi.h
+ @../lib/libffi-3.2.1/include/ffitarget.h=include/ffitarget.h"};
: ${PKG_LIBFFI_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.midipix.patch"};
: ${PKG_LIBRESSL_HOST_SHA256SUM:=a471565b36ccd1a70d0bd7d37c6e95c43a26a62829b487d9d2cdebfe58be3066};
: ${PKG_LIBRESSL_HOST_VERSION:=3.3.3};
@@ -157,8 +164,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_LIBZIP_HOST_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_HOST_VERSION}.tar.xz};
: ${PKG_LIBZIP_HOST_CMAKE_ARGS_EXTRA:="
-DENABLE_GNUTLS=:BOOL=OFF
- -DENABLE_MBEDTLS=:BOOL=OFF
-"};
+ -DENABLE_MBEDTLS=:BOOL=OFF"};
: ${PKG_LLVM_HOST_SHA256SUM:=6e82ce4adb54ff3afc18053d6981b6aed1406751b8742582ed50f04b5ab475f9};
: ${PKG_LLVM_HOST_VERSION:=3.8.1};
: ${PKG_LLVM_HOST_URL:=http://releases.llvm.org/${PKG_LLVM_HOST_VERSION}/llvm-${PKG_LLVM_HOST_VERSION}.src.tar.xz};
@@ -175,7 +181,10 @@ HOST_DEPS_PREFIX="${PREFIX}";
-Wno-dev"};
: ${PKG_MDSO_HOST_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
: ${PKG_MDSO_HOST_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_MDSO_HOST_INSTALL_FILES:="@mdso=bin/${DEFAULT_TARGET}-mdso /=${DEFAULT_TARGET}/bin bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
+: ${PKG_MDSO_HOST_INSTALL_FILES_V2:="
+ @mdso=bin/${DEFAULT_TARGET}-mdso
+ /=${DEFAULT_TARGET}/bin
+ +bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
: ${PKG_MPACKAGE_HOST_URLS_GIT:=mpackage=${DEFAULT_GITROOT}/mpackage};
: ${PKG_MPACKAGE_HOST_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
: ${PKG_MPACKAGE_HOST_IN_TREE:=1};
@@ -200,7 +209,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_NCURSESW_HOST_VERSION:=6.1};
: ${PKG_NCURSESW_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_HOST_VERSION}.tar.gz};
: ${PKG_NCURSESW_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
-: ${PKG_NCURSESW_HOST_INSTALL_FILES:=@ncursesw/ncurses.h=include/ncurses.h};
+: ${PKG_NCURSESW_HOST_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
: ${PKG_PCRE_HOST_DEPENDS:="bzip2_host"};
: ${PKG_PCRE_HOST_SHA256SUM:=91e762520003013834ac1adb4a938d53b22a216341c061b0cf05603b290faf6b};
: ${PKG_PCRE_HOST_VERSION:=8.43};
@@ -208,7 +217,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_PERK_HOST_DEPENDS:="mdso_host"};
: ${PKG_PERK_HOST_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
: ${PKG_PERK_HOST_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_PERK_HOST_INSTALL_FILES:="@perk=bin/${DEFAULT_TARGET}-perk"};
+: ${PKG_PERK_HOST_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
: ${PKG_PERK_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
: ${PKG_PYTHON2_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libz_host ncurses_host ncursesw_host sqlite3_host"};
: ${PKG_PYTHON2_HOST_SHA256SUM:=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43};
@@ -220,6 +229,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_PYTHON2_HOST_CONFIGURE:=build/sbpython2/configure};
: ${PKG_PYTHON2_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_HOST_VERSION} --prefix=${PREFIX}"};
: ${PKG_PYTHON2_HOST_CONFIGURE_TYPE:="sofort"};
+: ${PKG_PYTHON2_HOST_INSTALL_FILES_V2:="+%[_files]/bin/python2.7-config=bin/%[FNAME]"};
: ${PKG_PYTHON2_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
: ${PKG_PYTHON2_HOST_SUBDIR:=Python-${PKG_PYTHON2_HOST_VERSION}};
: ${PKG_PYTHON3_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libressl_host libz_host ncurses_host ncursesw_host sqlite3_host xz_host"};
@@ -232,7 +242,7 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_PYTHON3_HOST_CONFIGURE:=build/sbpython3/configure};
: ${PKG_PYTHON3_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_HOST_VERSION} --prefix=${PREFIX}"};
: ${PKG_PYTHON3_HOST_CONFIGURE_TYPE:="sofort"};
-: ${PKG_PYTHON3_HOST_INSTALL_FILES:="@python3=bin/python"};
+: ${PKG_PYTHON3_HOST_INSTALL_FILES_V2:="@python3=bin/python"};
: ${PKG_PYTHON3_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
: ${PKG_PYTHON3_HOST_SUBDIR:=Python-${PKG_PYTHON3_HOST_VERSION}};
: ${PKG_READLINE_HOST_DEPENDS:="ncurses_host ncursestw_host ncursesw_host"};
@@ -263,12 +273,17 @@ HOST_DEPS_PREFIX="${PREFIX}";
: ${PKG_TEXINFO_HOST_SHA256SUM:=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa};
: ${PKG_TEXINFO_HOST_VERSION:=6.7};
: ${PKG_TEXINFO_HOST_URL:=https://ftp.gnu.org/gnu/texinfo/texinfo-${PKG_TEXINFO_HOST_VERSION}.tar.xz};
+: ${PKG_TEXINFO_HOST_INSTALL_FILES_V2:="
+ !bin/makeinfo=bin/makeinfo.dist
+ +%[_files]/bin/makeinfo=bin/makeinfo
+ m0755=bin/makeinfo"};
: ${PKG_TEXINFO_HOST_LIBTOOL:=rdlibtool};
: ${PKG_TZDB_HOST_DEPENDS:="clzip_host"};
: ${PKG_TZDB_HOST_SHA256SUM:=b1c23c7825f5f842e6e1ddb702efe85b1c22bdf0e41815b927cfc04a28372962};
: ${PKG_TZDB_HOST_VERSION:=2018e};
: ${PKG_TZDB_HOST_URL:=https://data.iana.org/time-zones/releases/tzdb-${PKG_TZDB_HOST_VERSION}.tar.lz};
: ${PKG_TZDB_HOST_BUILD_DIR:="tzdb-${PKG_TZDB_HOST_VERSION}"};
+: ${PKG_TZDB_HOST_INSTALL_FILES_V2:="-=etc/%<*>"};
: ${PKG_UTIL_LINUX_HOST_DEPENDS:="ncursesw_host"};
: ${PKG_UTIL_LINUX_HOST_SHA256SUM:=37de03dbb98cdeffdf9e754122b0aca2a9bbdc19769f6570dfcb6f123643bf53};
: ${PKG_UTIL_LINUX_HOST_VERSION:=2.36.1};
diff --git a/groups/020.host_deps_rpm.group b/groups/020.host_deps_rpm.group
index a1770bb1..984a8ea6 100644
--- a/groups/020.host_deps_rpm.group
+++ b/groups/020.host_deps_rpm.group
@@ -27,6 +27,10 @@ HOST_DEPS_RPM_PREFIX="${PREFIX}";
: ${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 -I${PREFIX}/include/dbus-1.0 -I${PREFIX}/lib/dbus-1.0/include"};
: ${PKG_RPM_HOST_CONFIGURE_ARGS_EXTRA:="--enable-bdb=no --enable-ndb --with-crypto=openssl --with-vendor=midipix --without-lua"};
+: ${PKG_RPM_HOST_INSTALL_FILES_V2:="
+ +%[_files]/lib/rpm/elfdeps=lib/rpm/elfdeps
+ m0755=lib/rpm/elfdeps
+ -=var/%<*>"};
: ${PKG_RPM_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib"};
# vim:filetype=sh textwidth=0
diff --git a/groups/030.host_toolchain.group b/groups/030.host_toolchain.group
index 87a83706..09bf01d6 100644
--- a/groups/030.host_toolchain.group
+++ b/groups/030.host_toolchain.group
@@ -17,7 +17,9 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
: ${PKG_BINUTILS_HOST_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_HOST_VERSION}.tar.bz2};
: ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include -g2 -O0"};
: ${PKG_BINUTILS_HOST_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"};
-: ${PKG_BINUTILS_HOST_INSTALL_FILES:="@${DEFAULT_TARGET}-windmc=bin/windmc @${DEFAULT_TARGET}-windres=bin/windres"};
+: ${PKG_BINUTILS_HOST_INSTALL_FILES_V2:="
+ @%[_target]-windmc=bin/windmc
+ @%[_target]-windres=bin/windres"};
: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
: ${PKG_BINUTILS_HOST_LIBTOOL:=slibtool-static};
: ${PKG_BINUTILS_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
@@ -84,7 +86,7 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
: ${PKG_LDSO_HOST_BUILD_TYPE:=cross};
: ${PKG_LDSO_HOST_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO -I${PREFIX_CROSS}/include"};
: ${PKG_LDSO_HOST_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
-: ${PKG_LDSO_HOST_INSTALL_FILES:="@../${DEFAULT_TARGET}/lib/libldso.a=${PREFIX}/lib/libldso.a"};
+: ${PKG_LDSO_HOST_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
: ${PKG_LDSO_HOST_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_LDSO_HOST_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_MPC_HOST_DEPENDS:="gmp_host mpfr_host"};
@@ -127,6 +129,7 @@ HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
: ${PKG_NASM_HOST_VERSION:=2.14.02};
: ${PKG_NASM_HOST_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_HOST_VERSION}/nasm-${PKG_NASM_HOST_VERSION}.tar.xz};
: ${PKG_NASM_HOST_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
+: ${PKG_NASM_HOST_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
: ${PKG_NASM_HOST_PREFIX:=${PREFIX}};
: ${PKG_PSXSTUB_HOST_DEPENDS:="gcc_stage1_host"};
: ${PKG_PSXSTUB_HOST_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
diff --git a/groups/100.native_tools.group b/groups/100.native_tools.group
index 98d07fbd..c8a6c130 100644
--- a/groups/100.native_tools.group
+++ b/groups/100.native_tools.group
@@ -10,17 +10,24 @@ NATIVE_TOOLS_PKG_CONFIG_LIBDIR="${PREFIX_NATIVE}/lib/pkgconfig";
NATIVE_TOOLS_PREFIX="${PREFIX_NATIVE}";
: ${PKG_MDSO_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
: ${PKG_MDSO_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MDSO_INSTALL_FILES:="@mdso=bin/${DEFAULT_TARGET}-mdso /=${DEFAULT_TARGET}/bin @../../bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
+: ${PKG_MDSO_INSTALL_FILES_V2:="
+ @mdso=bin/${DEFAULT_TARGET}-mdso
+ /=${DEFAULT_TARGET}/bin
+ @../../bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
: ${PKG_PERK_DEPENDS:="mdso"};
: ${PKG_PERK_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
: ${PKG_PERK_CFLAGS_CONFIGURE:="-I${PREFIX_NATIVE}/include"};
: ${PKG_PERK_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_PERK_INSTALL_FILES:="@perk=bin/${DEFAULT_TARGET}-perk"};
+: ${PKG_PERK_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
: ${PKG_PKGCONF_SHA256SUM:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf};
: ${PKG_PKGCONF_VERSION:=1.9.0};
: ${PKG_PKGCONF_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
: ${PKG_PKGCONF_CONFIGURE_ARGS:="--prefix= --host=${DEFAULT_TARGET} --with-sysroot=${PREFIX_NATIVE}"};
-: ${PKG_PKGCONF_INSTALL_FILES:=/=lib/pkgconfig};
+: ${PKG_PKGCONF_INSTALL_FILES_V2:="
+ @pkgconf=bin/pkg-config
+ +%[_files]/bin/\%[_target]-pkg-config=bin/%[_target]-pkg-config
+ m0755=bin/%[_target]-pkg-config
+ /=lib/pkgconfig"};
: ${PKG_SLIBTOOL_URLS_GIT:="slibtool=git://midipix.org/slibtool"};
: ${PKG_SLIBTOOL_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
: ${PKG_TPAX_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
diff --git a/groups/110.native_toolchain.group b/groups/110.native_toolchain.group
index 43afb52e..6bac8753 100644
--- a/groups/110.native_toolchain.group
+++ b/groups/110.native_toolchain.group
@@ -12,6 +12,11 @@ NATIVE_TOOLCHAIN_PREFIX="${PREFIX_NATIVE}";
: ${PKG_BINUTILS_CONFIGURE_ARGS_EXTRA:="--enable-deterministic-archives --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"};
: ${PKG_BINUTILS_CFLAGS_CONFIGURE:="-isystem ${PREFIX_NATIVE}/include -Wno-error=cpp"};
: ${PKG_BINUTILS_LDFLAGS_CONFIGURE:="-L${PREFIX_NATIVE}/lib"};
+: ${PKG_BINUTILS_INSTALL_FILES_V2:="
+ +%[_builddir]/bfd/bfd.h=include/%[FNAME]
+ +%[_builddir]/bfd/.libs/libbfd.a=lib/%[FNAME]
+ +%[_subdir]/include/ansidecl.h=include/%[FNAME]
+ +%[_subdir]/include/symcat.h=include/%[FNAME]"};
: ${PKG_BINUTILS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_VERSION}.midipix.patch"};
: ${PKG_BINUTILS_LIBTOOL:=slibtool-static};
: ${PKG_BINUTILS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
diff --git a/groups/120.native_runtime.group b/groups/120.native_runtime.group
index 07364f21..2fe70f2a 100644
--- a/groups/120.native_runtime.group
+++ b/groups/120.native_runtime.group
@@ -17,7 +17,9 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
: ${PKG_LDSO_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
: ${PKG_LDSO_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
: ${PKG_LDSO_CONFIGURE_ARGS_EXTRA:=--disable-shared};
-: ${PKG_LDSO_INSTALL_FILES:="/=${DEFAULT_TARGET}/lib @../../lib/libldso.a=${DEFAULT_TARGET}/lib/libldso.a"};
+: ${PKG_LDSO_INSTALL_FILES_V2:="
+ /=${DEFAULT_TARGET}/lib
+ @../../lib/libldso.a=${DEFAULT_TARGET}/lib/libldso.a"};
: ${PKG_LDSO_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_LDSO_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_NTAPI_DEPENDS:="dalist ldso pemagine psxtypes"};
@@ -33,7 +35,7 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
: ${PKG_NTUX_DEPENDS:="dalist ldso ntapi pemagine psxscl"};
: ${PKG_NTUX_URLS_GIT:=ntux=${DEFAULT_GITROOT}/ntux};
: ${PKG_NTUX_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_NTUX_HOST_INSTALL_FILES:="ntux/bin/ntux=bin/ntux"};
+: ${PKG_NTUX_HOST_INSTALL_FILES_V2:="+ntux/bin/ntux=bin/%[FNAME]"};
: ${PKG_PEMAGINE_DEPENDS:="ldso psxtypes"};
: ${PKG_PEMAGINE_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
: ${PKG_PEMAGINE_CFLAGS_CONFIGURE_EXTRA:=-O0};
@@ -47,7 +49,9 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
: ${PKG_PSXSCL_STRACE_URLS_GIT:=psxscl=${DEFAULT_GITROOT_HEAD}/psxscl};
: ${PKG_PSXSCL_STRACE_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_PSXSCL_STRACE_CFLAGS_CONFIGURE_EXTRA:="-DPSX_EXTENDED_STRACE -O0"};
-: ${PKG_PSXSCL_STRACE_INSTALL_FILES:="/=lib/debug ../obj/lib/libpsxscl.so=lib/debug/"};
+: ${PKG_PSXSCL_STRACE_INSTALL_FILES_V2:="
+ /=lib/debug
+ +../obj/lib/libpsxscl.so=lib/debug/%[FNAME]"};
: ${PKG_PSXSCL_STRACE_MIRRORS_GIT:="skip"};
: ${PKG_PSXTYPES_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
: ${PKG_PSXTYPES_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
diff --git a/groups/211.native_packages_cmdline.group b/groups/211.native_packages_cmdline.group
index 9012181b..d51ce532 100644
--- a/groups/211.native_packages_cmdline.group
+++ b/groups/211.native_packages_cmdline.group
@@ -28,6 +28,9 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_BUSYBOX_URL:=https://busybox.net/downloads/busybox-${PKG_BUSYBOX_VERSION}.tar.bz2};
: ${PKG_BUSYBOX_DESTDIR:=destdir/busybox};
: ${PKG_BUSYBOX_IN_TREE=1};
+: ${PKG_BUSYBOX_INSTALL_FILES_V2:="
+ +%[_builddir]/_install/bin/%<*>=bin/%[FNAME]
+ +%[_builddir]/_install/lib/libbusybox.so.${PKG_BUSYBOX_VERSION}=lib/%[FNAME]"};
: ${PKG_BUSYBOX_PREFIX:=${PREFIX_NATIVE}/busybox};
: ${PKG_CABEXTRACT_DEPENDS:="libmspack"};
: ${PKG_CABEXTRACT_SHA256SUM:=afc253673c8ef316b4d5c29cc4aa8445844bee14afffbe092ee9469405851ca7};
@@ -55,7 +58,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_DASH_VERSION:=0.5.11.4};
: ${PKG_DASH_URL:=https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${PKG_DASH_VERSION}.tar.gz};
: ${PKG_DASH_CONFIGURE_ARGS_EXTRA:="--disable-glob --enable-fnmatch"};
-: ${PKG_DASH_INSTALL_FILES:=@dash=bin/sh};
+: ${PKG_DASH_INSTALL_FILES_V2:="@dash=bin/sh"};
: ${PKG_DATAMASH_SHA256SUM:=574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3};
: ${PKG_DATAMASH_VERSION:=1.7};
: ${PKG_DATAMASH_URL:=https://ftp.gnu.org/gnu/datamash/datamash-${PKG_DATAMASH_VERSION}.tar.gz};
@@ -64,7 +67,11 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_DOS2UNIX_URL:=http://waterlan.home.xs4all.nl/dos2unix/dos2unix-${PKG_DOS2UNIX_VERSION}.tar.gz};
: ${PKG_DOS2UNIX_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
: ${PKG_DOS2UNIX_IN_TREE:=1};
-: ${PKG_DOS2UNIX_INSTALL_FILES:="../dos2unix-${PKG_DOS2UNIX_VERSION}/dos2unix=bin/ ../dos2unix-${PKG_DOS2UNIX_VERSION}/unix2dos=bin/ @dos2unix=bin/mac2unix @unix2dos=bin/unix2mac"};
+: ${PKG_DOS2UNIX_INSTALL_FILES_V2:="
+ +../dos2unix-${PKG_DOS2UNIX_VERSION}/dos2unix=bin/%[FNAME]
+ +../dos2unix-${PKG_DOS2UNIX_VERSION}/unix2dos=bin/%[FNAME]
+ @dos2unix=bin/mac2unix
+ @unix2dos=bin/unix2mac"};
: ${PKG_ED_SHA256SUM:=71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54};
: ${PKG_ED_VERSION:=1.17};
: ${PKG_ED_URL:=https://ftp.gnu.org/gnu/ed/ed-${PKG_ED_VERSION}.tar.lz};
@@ -106,7 +113,11 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_MKSH_URL:="https://sources.voidlinux.org/mksh-${PKG_MKSH_VERSION}/mksh-${PKG_MKSH_VERSION}.tgz http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-${PKG_MKSH_VERSION}.tgz"};
: ${PKG_MKSH_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_MKSH_ENV_VARS_EXTRA:="CC=${DEFAULT_TARGET}-gcc"};
-: ${PKG_MKSH_INSTALL_FILES:="../mksh/mksh=bin/ /=share/doc/mksh/examples ../mksh/dot.mkshrc=share/doc/mksh/examples/ ../mksh/mksh.1=share/man/man1/"};
+: ${PKG_MKSH_INSTALL_FILES_V2:="
+ +../mksh/mksh=bin/%[FNAME]
+ /=share/doc/mksh/examples
+ +../mksh/dot.mkshrc=share/doc/mksh/examples/%[FNAME]
+ +../mksh/mksh.1=share/man/man1/%[FNAME]"};
: ${PKG_MKSH_IN_TREE:=1};
: ${PKG_MKSH_SUBDIR:=mksh};
: ${PKG_MOON_BUGGY_DEPENDS:="ncurses"};
@@ -141,7 +152,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_NINVADERS_BUILD_DIR:=ninvaders-${PKG_NINVADERS_VERSION}};
: ${PKG_NINVADERS_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_NINVADERS_CFLAGS_BUILD_EXTRA:="-g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_NINVADERS_INSTALL_FILES:="../ninvaders-0.1.1/nInvaders=bin/"};
+: ${PKG_NINVADERS_INSTALL_FILES_V2:="+../ninvaders-${PKG_NINVADERS_VERSION}/nInvaders=bin/%[FNAME]"};
: ${PKG_NINVADERS_IN_TREE:=1};
: ${PKG_NINVADERS_MAKEFLAGS_BUILD:="LIBS=-Wl,-L${PREFIX_NATIVE}/lib,-lncurses,-ltinfo"};
: ${PKG_NINVADERS_SUBDIR:=ninvaders-${PKG_NINVADERS_VERSION}};
@@ -150,7 +161,9 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_OPENBSD_BASEUTILS_BUILD_DIR:=baseutils};
: ${PKG_OPENBSD_BASEUTILS_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_OPENBSD_BASEUTILS_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_OPENBSD_BASEUTILS_INSTALL_FILES:="../baseutils/pax/pax=bin/ ../baseutils/pax/cpio.1=share/man/man1/ ../baseutils/pax/pax.1=share/man/man1/ ../baseutils/pax/tar.1=share/man/man1/"};
+: ${PKG_OPENBSD_BASEUTILS_INSTALL_FILES_V2:="
+ +../baseutils/pax/pax=bin/%[FNAME]
+ +../baseutils/pax/%<*.1>=share/man/man1/%[FNAME]"};
: ${PKG_OPENBSD_BASEUTILS_MAKE_SUBDIRS:="libopenbsd pax"};
: ${PKG_PROFANITY_DEPENDS:="libffi libstrophe libgcrypt libz glib gpgme ncursesw curl readline sqlite3"};
: ${PKG_PROFANITY_SHA256SUM:=23f7b2e5c6cf85913b9e7a228802bca9ecb1d1cf3bf8f8f285e9676176a24902};
@@ -162,7 +175,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")";
: ${PKG_PIXZ_VERSION:=1.0.7};
: ${PKG_PIXZ_URL:=https://github.com/vasi/pixz/releases/download/v${PKG_PIXZ_VERSION}/pixz-${PKG_PIXZ_VERSION}.tar.xz};
: ${PKG_PIXZ_CONFIG_CACHE_EXTRA:="ac_cv_file_src_pixz_1=yes"};
-: ${PKG_PIXZ_INSTALL_FILES:="../pixz-${PKG_PIXZ_VERSION}/src/pixz.1=share/man/man1/"};
+: ${PKG_PIXZ_INSTALL_FILES_V2:="+../pixz-${PKG_PIXZ_VERSION}/src/pixz.1=share/man/man1/%[FNAME]"};
: ${PKG_PV_SHA256SUM:=608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1};
: ${PKG_PV_VERSION:=1.6.6};
: ${PKG_PV_URL:=http://www.ivarch.com/programs/sources/pv-${PKG_PV_VERSION}.tar.bz2};
@@ -217,13 +230,17 @@ rc_cv_sysv_sigcld=no"};
: ${PKG_TREE_VERSION:=1.8.0};
: ${PKG_TREE_URL:=http://mama.indstate.edu/users/ice/tree/src/tree-${PKG_TREE_VERSION}.tgz};
: ${PKG_TREE_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_TREE_INSTALL_FILES:="../tree-${PKG_TREE_VERSION}/tree=bin/ ../tree-${PKG_TREE_VERSION}/doc/tree.1=share/man/man1"};
+: ${PKG_TREE_INSTALL_FILES_V2:="
+ ../tree-${PKG_TREE_VERSION}/tree=bin/%[FNAME]
+ ../tree-${PKG_TREE_VERSION}/doc/tree.1=share/man/man1/%[FNAME]"};
: ${PKG_TREE_IN_TREE:=1};
: ${PKG_TERMINALLY_TETRIS_DEPENDS:="ncurses"};
: ${PKG_TERMINALLY_TETRIS_URLS_GIT:=terminally_tetris=https://github.com/thecardkid/terminally-tetris.git@master};
: ${PKG_TERMINALLY_TETRIS_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_TERMINALLY_TETRIS_CFLAGS_BUILD_EXTRA:="-std=gnu99 -g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES:="../terminally_tetris/build/ttetris=bin/ ../terminally_tetris/man/ttetris.1=share/man/man1/"};
+: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES_V2:="
+ ../terminally_tetris/build/ttetris=bin/%[FNAME]
+ ../terminally_tetris/man/ttetris.1=share/man/man1/%[FNAME]"};
: ${PKG_TERMINALLY_TETRIS_IN_TREE:=1};
: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib -lncurses -Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
: ${PKG_TERMINALLY_TETRIS_MAKEFLAGS_BUILD_EXTRA:=C=${DEFAULT_TARGET}-gcc};
diff --git a/groups/221.native_packages_dev.group b/groups/221.native_packages_dev.group
index f50a73cd..b665893b 100644
--- a/groups/221.native_packages_dev.group
+++ b/groups/221.native_packages_dev.group
@@ -50,7 +50,7 @@ ac_cv_prog_gnu_m4_gnu=yes"};
: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/etc/python2.7-config"};
: ${PKG_GDB_CXXFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
: ${PKG_GDB_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 --sysroot=${PREFIX_NATIVE}:LDFLAGS_FOR_TARGET=--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_GDB_INSTALL_FILES:="../obj/gdb/.libs/gdb=bin/gdb"};
+: ${PKG_GDB_INSTALL_FILES_V2:="../obj/gdb/.libs/gdb=bin/gdb"};
: ${PKG_GDB_LIBTOOL:=rdlibtool};
: ${PKG_GDB_MAKEFLAGS_BUILD_EXTRA:="SYSROOT_FLAGS=--sysroot=${PREFIX_NATIVE}"};
: ${PKG_GDB_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_VERSION}.midipix.patch"};
@@ -64,7 +64,7 @@ ac_cv_prog_gnu_m4_gnu=yes"};
: ${PKG_LUA_IN_TREE:=1};
: ${PKG_LUA_CONFIGURE_ARGS_EXTRA:="--with-readline --with-compat-module"};
: ${PKG_LUA_FORCE_AUTORECONF:=1};
-: ${PKG_LUA_INSTALL_FILES:=@liblua.so=lib/liblua.so.0};
+: ${PKG_LUA_INSTALL_FILES_V2:="@liblua.so=lib/liblua.so.0"};
: ${PKG_INDENT_SHA256SUM:=b745a5dfc68f86a483d7f96dc1cda7aafd1e78ecba3c7d8ad304709e91e1defb};
: ${PKG_INDENT_VERSION:=2.2.12};
: ${PKG_INDENT_URL:=https://ftp.gnu.org/gnu/indent/indent-${PKG_INDENT_VERSION}.tar.xz};
@@ -137,7 +137,7 @@ make_cv_synchronous_posix_spawn=yes"};
: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
: ${PKG_PYTHON3_CONFIGURE_TYPE:="sofort"};
: ${PKG_PYTHON3_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
-: ${PKG_PYTHON3_INSTALL_FILES:="@python3=bin/python"};
+: ${PKG_PYTHON3_INSTALL_FILES_V2:="@python3=bin/python"};
: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
: ${PKG_RUBY_VERSION:=2.3.0};
diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group
index c35c77f5..ac3e4622 100644
--- a/groups/231.native_packages_etc.group
+++ b/groups/231.native_packages_etc.group
@@ -28,7 +28,7 @@ zstd")";
: ${PKG_APR_UTIL_URL:=https://archive.apache.org/dist/apr/apr-util-${PKG_APR_UTIL_VERSION}.tar.bz2};
: ${PKG_APR_UTIL_ENV_VARS_EXTRA:="LDADD_dbd_sqlite3=-lsqlite3 -lapr-1 -L.libs -laprutil-1:LDADD_crypto_openssl=-lcrypto -lssl -lapr-1 -L.libs -laprutil-1"};
: ${PKG_APR_UTIL_CONFIGURE_ARGS_EXTRA:="--with-crypto --with-apr=${BUILD_WORKDIR}/apr-native-${DEFAULT_TARGET}/obj"};
-: ${PKG_APR_UTIL_INSTALL_FILES:=bin/apu-1-config=${PREFIX}/bin/${DEFAULT_TARGET}-apu-1-config};
+: ${PKG_APR_UTIL_INSTALL_FILES_V2:="+bin/apu-1-config=%[_prefix_host]/bin/%[_target]-%[FNAME]"};
: ${PKG_APR_UTIL_MAKEFLAGS_BUILD:="-j1"};
: ${PKG_BDWGC_DEPENDS:="libatomic_ops"};
: ${PKG_BDWGC_URLS_GIT:="bdwgc=https://github.com/ivmai/bdwgc@master"};
@@ -43,13 +43,21 @@ zstd")";
: ${PKG_BOCHS_URL:=https://fossies.org/linux/misc/bochs-${PKG_BOCHS_VERSION}.tar.gz};
: ${PKG_BOCHS_CONFIGURE_ARGS_EXTRA:="--disable-docbook --without-x11 --without-wx --without-sdl2 --with-term --with-sdl --enable-idle-hack"};
: ${PKG_BOCHS_CXXFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_BOCHS_INSTALL_FILES:="../obj/.libs/bochs=bin/ ../obj/.libs/bximage=bin/"};
+: ${PKG_BOCHS_INSTALL_FILES_V2:="
+ +../obj/.libs/bochs=bin/%[FNAME]
+ +../obj/.libs/bximage=bin/%[FNAME]"};
: ${PKG_BOCHS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib"};
: ${PKG_BOCHS_MAKEFLAGS_BUILD:="LIBS=-Wl,-ltinfo"};
: ${PKG_BZIP2_SHA256SUM:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269};
: ${PKG_BZIP2_VERSION:=1.0.8};
: ${PKG_BZIP2_URL:=https://sourceware.org/pub/bzip2/bzip2-${PKG_BZIP2_VERSION}.tar.gz};
-: ${PKG_BZIP2_INSTALL_FILES:="@bzdiff=bin/bzcmp @bzgrep=bin/bzegrep @bzgrep=bin/bzfgrep @bzmore=bin/bzless ../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1=lib/ ../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1.0.8=lib/"};
+: ${PKG_BZIP2_INSTALL_FILES_V2:="
+ @bzdiff=bin/bzcmp
+ @bzgrep=bin/bzegrep
+ @bzgrep=bin/bzfgrep
+ @bzmore=bin/bzless
+ +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1=lib/%[FNAME]
+ +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1.0.8=lib/%[FNAME]"};
: ${PKG_BZIP2_IN_TREE:=1};
: ${PKG_BZIP2_MAKEFLAGS_BUILD_EXTRA:=-f Makefile-libbz2_so};
: ${PKG_BZIP2_MAKE_INSTALL_VNAME:=PREFIX};
@@ -61,7 +69,7 @@ zstd")";
: ${PKG_CLZIP_VERSION:=1.12};
: ${PKG_CLZIP_URL:=https://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_VERSION}.tar.gz};
: ${PKG_CLZIP_CONFIGURE_ARGS:="CC=${DEFAULT_TARGET}-gcc --prefix="};
-: ${PKG_CLZIP_INSTALL_FILES:="@clzip=bin/lzip"};
+: ${PKG_CLZIP_INSTALL_FILES_V2:="@clzip=bin/lzip"};
: ${PKG_CLZIP_IN_TREE:=1};
: ${PKG_CMAKE_DEPENDS:="curl libarchive libuv libz ncurses"};
: ${PKG_CMAKE_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
@@ -120,7 +128,7 @@ zstd")";
: ${PKG_DOOMGENERIC_CFLAGS_BUILD_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
: ${PKG_DOOMGENERIC_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
: ${PKG_DOOMGENERIC_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_DOOMGENERIC_INSTALL_FILES:="../doomgeneric/doomgeneric/doomgeneric=bin/"};
+: ${PKG_DOOMGENERIC_INSTALL_FILES_V2:="+../doomgeneric/doomgeneric/doomgeneric=bin/%[FNAME]"};
: ${PKG_EMACS_DEPENDS:="freetype gnutls libjpeg_turbo libz ncurses"};
: ${PKG_EMACS_SHA256SUM:=1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c};
: ${PKG_EMACS_VERSION:=26.1};
@@ -186,7 +194,7 @@ zstd")";
: ${PKG_HASTYHEX_IN_TREE:=1};
: ${PKG_HASTYHEX_CFLAGS_BUILD_EXTRA:="-g3 -O0 -ansi -pedantic -funroll-loops"};
: ${PKG_HASTYHEX_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_HASTYHEX_INSTALL_FILES:="../hastyhex/hastyhex=bin/"};
+: ${PKG_HASTYHEX_INSTALL_FILES_V2:="+../hastyhex/hastyhex=bin/%[FNAME]"};
: ${PKG_HEXCURSE_DEPENDS:="ncurses"};
: ${PKG_HEXCURSE_URLS_GIT:="hexcurse=https://github.com/LonnyGomes/hexcurse@master"};
: ${PKG_HEXCURSE_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncurses};
@@ -235,7 +243,20 @@ gl_cv_func_getopt_gnu=yes"};
: ${PKG_JOHN_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_JOHN_DISABLED_NT32:=1};
: ${PKG_JOHN_IN_TREE:=1};
-: ${PKG_JOHN_INSTALL_FILES:="../john-${PKG_JOHN_VERSION}/run/john=bin/ ../john-${PKG_JOHN_VERSION}/run/mailer=bin/ ../john-${PKG_JOHN_VERSION}/run/makechr=bin/ ../john-${PKG_JOHN_VERSION}/run/relbench=bin/ ../john-${PKG_JOHN_VERSION}/run/unafs=bin/ ../john-${PKG_JOHN_VERSION}/run/unique=bin/ ../john-${PKG_JOHN_VERSION}/run/unshadow=bin/ /=share/john ../john-${PKG_JOHN_VERSION}/run/ascii.chr=share/john/ ../john-${PKG_JOHN_VERSION}/run/digits.chr=share/john/ ../john-${PKG_JOHN_VERSION}/run/john.conf=share/john/ ../john-${PKG_JOHN_VERSION}/run/lm_ascii.chr=share/john/ ../john-${PKG_JOHN_VERSION}/run/password.lst=share/john/"};
+: ${PKG_JOHN_INSTALL_FILES_V2:="
+ /=share/john
+ +../john-${PKG_JOHN_VERSION}/run/john=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/mailer=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/makechr=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/relbench=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unafs=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unique=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unshadow=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/ascii.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/digits.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/john.conf=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/lm_ascii.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/password.lst=share/john/%[FNAME]"};
: ${PKG_JOHN_MAKEFLAGS_BUILD_EXTRA:="-C src midipix-x86-64"};
: ${PKG_LBREAKOUT2_DEPENDS:="sdl1 libz libpng"};
: ${PKG_LBREAKOUT2_SHA256SUM:=9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f};
@@ -317,7 +338,7 @@ gl_cv_func_getopt_gnu=yes"};
: ${PKG_NCURSESW_VERSION:=6.1};
: ${PKG_NCURSESW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_VERSION}.tar.gz};
: ${PKG_NCURSESW_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
-: ${PKG_NCURSESW_INSTALL_FILES:=@ncursesw/ncurses.h=include/ncurses.h};
+: ${PKG_NCURSESW_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
: ${PKG_NPTH_SHA256SUM:=1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1};
: ${PKG_NPTH_VERSION:=1.6};
: ${PKG_NPTH_URL:=https://www.gnupg.org/ftp/gcrypt/npth/npth-${PKG_NPTH_VERSION}.tar.bz2};
@@ -345,7 +366,7 @@ gl_cv_func_getopt_gnu=yes"};
: ${PKG_P7ZIP_URLS_GIT:="p7zip-midipix.git=https://github.com/lalbornoz/p7zip-midipix.git@master"};
: ${PKG_P7ZIP_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_P7ZIP_IN_TREE:=1};
-: ${PKG_P7ZIP_INSTALL_FILES:="../p7zip-midipix.git/bin/7za=bin/"};
+: ${PKG_P7ZIP_INSTALL_FILES_V2:="+../p7zip-midipix.git/bin/7za=bin/%[FNAME]"};
: ${PKG_PCRE_DEPENDS:="bzip2 libz"};
: ${PKG_PCRE_SHA256SUM:=4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8};
: ${PKG_PCRE_VERSION:=8.45};
@@ -474,7 +495,7 @@ ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config"};
: ${PKG_VIM_URL:=https://github.com/vim/vim/archive/v${PKG_VIM_VERSION}.tar.gz};
: ${PKG_VIM_CONFIGURE_ARGS_EXTRA:="--enable-gui=no --with-tlib=tinfow --without-x"};
: ${PKG_VIM_IN_TREE:=1};
-: ${PKG_VIM_INSTALL_FILES:=@vim=bin/vi};
+: ${PKG_VIM_INSTALL_FILES_V2:="@vim=bin/vi"};
: ${PKG_VIM_MAKEFLAGS_INSTALL_EXTRA:=STRIP=/bin/true};
: ${PKG_VIM_SUBDIR:=vim-${PKG_VIM_VERSION}};
: ${PKG_VORBIS_TOOLS_DEPENDS:="curl libflac libogg libvorbis"};
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index 65c3e7eb..365771cc 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -83,7 +83,9 @@ sdl1_image sdl1_ttf sdl2 sdl2_image sdl2_ttf wolfssl")";
: ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz};
: ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64};
: ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"};
-: ${PKG_LIBFFI_INSTALL_FILES:="lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/ffi.h lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/ffitarget.h"};
+: ${PKG_LIBFFI_INSTALL_FILES_V2:="
+ +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/%[FNAME]
+ +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/%[FNAME]"};
: ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"};
: ${PKG_LIBFIRM_URLS_GIT:="libfirm=http://pp.info.uni-karlsruhe.de/git/libfirm.git@master bfirm=${DEFAULT_GITROOT}/compilers/bfirm@main"};
: ${PKG_LIBFIRM_BASE_DIR:=${BUILD_WORKDIR}/cparser+libfirm-native-${DEFAULT_TARGET}};
@@ -121,8 +123,7 @@ gcry_cv_visibility_attribute=yes"};
-DCMAKE_ASM_NASM_COMPILER=${PREFIX}/bin/${DEFAULT_TARGET}-nasm
-DCMAKE_ASM_NASM_OBJECT_FORMAT=win64
-DWITH_SIMD=OFF
- -DWITH_JPEG8=ON
-"};
+ -DWITH_JPEG8=ON"};
: ${PKG_LIBKSBA_DEPENDS:="libgpg_error"};
: ${PKG_LIBKSBA_SHA256SUM:=dad683e6f2d915d880aa4bed5cea9a115690b8935b78a1bbe01669189307a48b};
: ${PKG_LIBKSBA_VERSION:=1.6.0};
@@ -212,8 +213,7 @@ ksba_cv_visibility_attribute=yes"};
-DRPMIO_LIBRARY=${PREFIX_NATIVE}/lib/librpmio.so
-DWITH_LIBXML2:BOOL=ON
-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a
-"};
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
: ${PKG_LIBSSH_DEPENDS:="libz"};
: ${PKG_LIBSSH_SHA256SUM:=acffef2da98e761fc1fd9c4fddde0f3af60ab44c4f5af05cd1b2d60a3fa08718};
: ${PKG_LIBSSH_VERSION:=0.9.5};
@@ -224,9 +224,7 @@ ksba_cv_visibility_attribute=yes"};
-DWITH_GCRYPT=ON
-DWITH_SYMBOL_VERSIONING=OFF
-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.lib.a
-
-"};
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.lib.a"};
: ${PKG_LIBSTROPHE_DEPENDS:="libressl expat"};
: ${PKG_LIBSTROPHE_SHA256SUM:=cf1a363ae6df88ccd97292d4e859b7680d8bac79347b53a9dc8f095456b7a02d};
: ${PKG_LIBSTROPHE_VERSION=0.10.1};
@@ -268,6 +266,9 @@ ksba_cv_visibility_attribute=yes"};
: ${PKG_LIBXML2_VERSION:=2.9.10};
: ${PKG_LIBXML2_URL:=ftp://xmlsoft.org/libxml2/libxml2-${PKG_LIBXML2_VERSION}.tar.gz};
: ${PKG_LIBXML2_CONFIGURE_ARGS_EXTRA:="--with-python=no"};
+: ${PKG_LIBXML2_INSTALL_FILES_V2:="
+ +%[_files]/bin/\%[_target]-xml2-config=bin/%[_target]-xml2-config
+ m0755=bin/%[_target]-xml2-config"};
: ${PKG_LIBXSLT_DEPENDS:="libxml2 libgcrypt"};
: ${PKG_LIBXSLT_SHA256SUM:=98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f};
: ${PKG_LIBXSLT_VERSION:=1.1.34};
@@ -297,8 +298,7 @@ ksba_cv_visibility_attribute=yes"};
-DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a
-DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a
-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a
-"};
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
: ${PKG_LZO_SHA256SUM:=c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072};
: ${PKG_LZO_VERSION:=2.10};
: ${PKG_LZO_URL:=https://www.oberhumer.com/opensource/lzo/download/lzo-${PKG_LZO_VERSION}.tar.gz};
@@ -307,6 +307,8 @@ ksba_cv_visibility_attribute=yes"};
: ${PKG_NETTLE_URL:=https://ftp.gnu.org/gnu/nettle/nettle-${PKG_NETTLE_VERSION}.tar.gz};
: ${PKG_NETTLE_CONFIGURE_ARGS_EXTRA:=--disable-fat};
: ${PKG_NETTLE_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_NETTLE_CONFIG_CACHE_EXTRA:="nettle_cv_asm_underscore=no"};
+: ${PKG_NETTLE_INSTALL_FILES_V2:="m0755=lib/%<lib*.so>"};
: ${PKG_NETTLE_MAKEFLAGS_BUILD:=-j1};
: ${PKG_READLINE_DEPENDS:="ncurses ncursestw ncursesw"};
: ${PKG_READLINE_SHA256SUM:=f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02};
@@ -374,6 +376,8 @@ ksba_cv_visibility_attribute=yes"};
: ${PKG_WOLFSSL_URL:=https://github.com/wolfSSL/wolfssl/archive/v${PKG_WOLFSSL_VERSION}-stable.tar.gz};
: ${PKG_WOLFSSL_CONFIGURE_ARGS_EXTRA:="--enable-distro --with-libz=${PREFIX_NATIVE}"};
: ${PKG_WOLFSSL_SUBDIR:=wolfssl-${PKG_WOLFSSL_VERSION}-stable};
-: ${PKG_WOLFSSL_INSTALL_FILES:="../obj/wolfssl/options.h=include/wolfssl/options.h ../obj/cyassl/options.h=include/cyassl/options.h"};
+: ${PKG_WOLFSSL_INSTALL_FILES_V2:="
+ +../obj/cyassl/options.h=include/cyassl/%[FNAME]
+ +../obj/wolfssl/options.h=include/wolfssl/%[FNAME]"};
# vim:filetype=sh textwidth=0
diff --git a/groups/261.native_packages_x11.group b/groups/261.native_packages_x11.group
index 37a767f7..c5ce51ca 100644
--- a/groups/261.native_packages_x11.group
+++ b/groups/261.native_packages_x11.group
@@ -49,7 +49,11 @@ xeyes xorgproto Xrender xterm xtrans xwd xwin")";
: ${PKG_GLEW_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/glew/glew-${PKG_GLEW_VERSION}.tgz};
: ${PKG_GLEW_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_GLEW_CFLAGS_BUILD_EXTRA:=-Iinclude};
-: ${PKG_GLEW_INSTALL_FILES:="../glew-${PKG_GLEW_VERSION}/lib/libGLEW.lib.a=lib/ ../glew-${PKG_GLEW_VERSION}/lib/libGLEW.so=lib/ ../glew-${PKG_GLEW_VERSION}/lib/libGLEW.so.${PKG_GLEW_VERSION}=lib/ ../glew-${PKG_GLEW_VERSION}/lib/libGLEW.so.${PKG_GLEW_VERSION%.*}=lib/ ../glew-${PKG_GLEW_VERSION}/lib/libGLEW.a=lib/ ../glew-${PKG_GLEW_VERSION}/bin/glewinfo=bin/ ../glew-${PKG_GLEW_VERSION}/bin/visualinfo=bin/"};
+: ${PKG_GLEW_INSTALL_FILES_V2:="
+ +../glew-${PKG_GLEW_VERSION}/bin/glewinfo=bin/%[FNAME]
+ +../glew-${PKG_GLEW_VERSION}/bin/visualinfo=bin/%[FNAME]
+ +../glew-${PKG_GLEW_VERSION}/lib/libGLEW.%<*>=lib/%[FNAME]
+"};
: ${PKG_GLEW_IN_TREE:=1};
: ${PKG_GLEW_MAKEFLAGS_BUILD_EXTRA:="SYSTEM=midipix STRIP= LD=${DEFAULT_TARGET}-gcc CC=${DEFAULT_TARGET}-gcc CFLAGS=-isystem${PREFIX_NATIVE}/include LDFLAGS.EXTRA=-L${PREFIX_NATIVE}/lib"};
: ${PKG_GTK2_DEPENDS:="atk cairo freetype gdk glib libX11 pango Xrender"};
@@ -196,7 +200,10 @@ xeyes xorgproto Xrender xterm xtrans xwd xwin")";
: ${PKG_ST_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_ST_CFLAGS_BUILD_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include"};
: ${PKG_ST_IN_TREE:=1};
-: ${PKG_ST_INSTALL_FILES:=../st-${PKG_ST_VERSION}/st=bin/ ../st-${PKG_ST_VERSION}/st.1=share/man/man1/ ../st-${PKG_ST_VERSION}/st.info=bin/};
+: ${PKG_ST_INSTALL_FILES_V2:="
+ +../st-${PKG_ST_VERSION}/st=bin/%[FNAME]
+ +../st-${PKG_ST_VERSION}/st.info=share/info/%[FNAME]
+ +../st-${PKG_ST_VERSION}/st.1=share/man/man1/%[FNAME]"};
: ${PKG_ST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX_NATIVE}/lib -lX11 -lXft -lfreetype -lfontconfig};
: ${PKG_UTIL_MACROS_SHA256SUM:=d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712};
: ${PKG_UTIL_MACROS_VERSION:=1.19.2};
diff --git a/groups/800.minipix.group b/groups/800.minipix.group
index d7470d7a..f5db9617 100644
--- a/groups/800.minipix.group
+++ b/groups/800.minipix.group
@@ -26,20 +26,29 @@ MINIPIX_RPM_DISABLE=1;
# 3rd party packages
: ${PKG_BASH_MINIPIX_INHERIT_FROM:=bash};
: ${PKG_BASH_MINIPIX_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_BASH_MINIPIX_INSTALL_FILES:="../obj/bash=bin/ ../obj/bashbug=bin/"};
+: ${PKG_BASH_MINIPIX_INSTALL_FILES_V2:="
+ +../obj/bash=bin/%[FNAME]
+ +../obj/bashbug=bin/%[FNAME]"};
: ${PKG_BZIP2_MINIPIX_INHERIT_FROM:=bzip2};
: ${PKG_BZIP2_MINIPIX_BUILD_STEPS_DISABLE:="install_make"};
-: ${PKG_BZIP2_MINIPIX_INSTALL_FILES:="../bzip2-${PKG_BZIP2_VERSION}/bzip2=bin/ @bzip2=bin/bunzip2 @bzip2=bin/bzcat @bzip2=bin/bzip2recover @bzip2=bin/bzgrep @bzip2=bin/bzmore @bzip2=bin/bzdiff"};
+: ${PKG_BZIP2_MINIPIX_INSTALL_FILES_V2:="
+ +../bzip2-${PKG_BZIP2_VERSION}/bzip2=bin/%[FNAME]
+ @bzip2=bin/bunzip2
+ @bzip2=bin/bzcat
+ @bzip2=bin/bzdiff
+ @bzip2=bin/bzgrep
+ @bzip2=bin/bzip2recover
+ @bzip2=bin/bzmore"};
: ${PKG_BZIP2_MINIPIX_MAKEFLAGS_BUILD_EXTRA:="-f Makefile"};
: ${PKG_CA_CERTIFICATES_MINIPIX_INHERIT_FROM:=ca_certificates};
: ${PKG_COREUTILS_MINIPIX_INHERIT_FROM:=coreutils};
: ${PKG_COREUTILS_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
: ${PKG_COREUTILS_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:=INSTALL_PROGRAM=${DEFAULT_TARGET}-install-strip};
: ${PKG_DASH_MINIPIX_INHERIT_FROM:=dash};
-: ${PKG_DASH_MINIPIX_INSTALL_FILES:=bin/dash=bin/sh};
+: ${PKG_DASH_MINIPIX_INSTALL_FILES_V2:="+bin/dash=bin/sh"};
: ${PKG_DIFFUTILS_MINIPIX_INHERIT_FROM:=diffutils};
: ${PKG_DROPBEAR_MINIPIX_INHERIT_FROM:=dropbear};
-: ${PKG_DROPBEAR_MINIPIX_INSTALL_FILES:=sbin/dropbear=bin/dropbear};
+: ${PKG_DROPBEAR_MINIPIX_INSTALL_FILES_V2:="+sbin/dropbear=bin/%[FNAME]"};
: ${PKG_FINDUTILS_MINIPIX_INHERIT_FROM:=findutils};
: ${PKG_GAWK_MINIPIX_INHERIT_FROM:=gawk};
: ${PKG_GDB_MINIPIX_INHERIT_FROM:=gdb};