diff --git a/Platform/v1.0/Sdk-i386.yaml b/Platform/v1.0/Sdk-i386.yaml index 7c72f28..600b0d9 100644 --- a/Platform/v1.0/Sdk-i386.yaml +++ b/Platform/v1.0/Sdk-i386.yaml @@ -36,6 +36,10 @@ modules: - "i386" - platform/platform.yaml - sdk/sdk.yaml + - name: finalize + buildsystem: simple + build-commands: + - libtool --finish /usr/lib /usr/lib/i386-linux-gnu cleanup: - /lib/debug diff --git a/Platform/v1.0/Sdk-x86_64.yaml b/Platform/v1.0/Sdk-x86_64.yaml index a1503ae..84adb65 100644 --- a/Platform/v1.0/Sdk-x86_64.yaml +++ b/Platform/v1.0/Sdk-x86_64.yaml @@ -37,6 +37,10 @@ modules: - x86_64 - platform/platform.yaml - sdk/sdk.yaml + - name: finalize + buildsystem: simple + build-commands: + - libtool --finish /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib32 cleanup: - /lib/debug diff --git a/Platform/v1.0/platform/libfaudio.yaml b/Platform/v1.0/platform/libfaudio.yaml index 2873398..42947f1 100644 --- a/Platform/v1.0/platform/libfaudio.yaml +++ b/Platform/v1.0/platform/libfaudio.yaml @@ -13,7 +13,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_faudio/usr/share - - cp -rav /usr/tmp_faudio/usr / + - cp -ravP --remove-destination /usr/tmp_faudio/usr / - rm -rfv /usr/tmp_faudio cleanup-platform: - "*.la" @@ -36,7 +36,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_faudio/usr/share /usr/tmp_faudio/usr/include - - cp -rav /usr/tmp_faudio/usr / + - cp -ravP --remove-destination /usr/tmp_faudio/usr / - rm -rfv /usr/tmp_faudio cleanup-platform: - "*.la" @@ -72,5 +72,5 @@ modules: - install post-install: - rm -rfv /usr/tmp_sdl2/usr/share /usr/tmp_sdl2/usr/bin /usr/tmp_sdl2/usr/include - - cp -rav /usr/tmp_sdl2/usr / + - cp -ravP --remove-destination /usr/tmp_sdl2/usr / - rm -rfv /usr/tmp_sdl2 diff --git a/Platform/v1.0/platform/libglu.yaml b/Platform/v1.0/platform/libglu.yaml index 7ac84a7..cedd7bc 100644 --- a/Platform/v1.0/platform/libglu.yaml +++ b/Platform/v1.0/platform/libglu.yaml @@ -12,7 +12,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_glu/usr/share - - cp -rav /usr/tmp_glu/usr / + - cp -ravP --remove-destination /usr/tmp_glu/usr / - rm -rfv /usr/tmp_glu cleanup-platform: - "*.la" @@ -36,7 +36,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_glu/usr/share - - cp -rav /usr/tmp_glu/usr / + - cp -ravP --remove-destination /usr/tmp_glu/usr / - rm -rfv /usr/tmp_glu cleanup-platform: - "*.la" diff --git a/Platform/v1.0/platform/libldap.yaml b/Platform/v1.0/platform/libldap.yaml index e69f669..768bdb2 100644 --- a/Platform/v1.0/platform/libldap.yaml +++ b/Platform/v1.0/platform/libldap.yaml @@ -17,7 +17,7 @@ modules: - rm -rfv /usr/tmp_ldap/usr/share - mv -v /usr/tmp_ldap/usr/sbin/* /usr/tmp_ldap/usr/bin - rm -rfv /usr/tmp_ldap/usr/sbin - - cp -rav /usr/tmp_ldap/usr / + - cp -ravP --remove-destination /usr/tmp_ldap/usr / - rm -rfv /usr/tmp_ldap cleanup-platform: - "*.la" @@ -43,7 +43,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_ldap/usr/share /usr/tmp_ldap/usr/sbin /usr/tmp_ldap/usr/bin /usr/tmp_ldap/usr/include - - cp -rav /usr/tmp_ldap/usr / + - cp -ravP --remove-destination /usr/tmp_ldap/usr / - rm -rfv /usr/tmp_ldap cleanup-platform: - "*.la" diff --git a/Platform/v1.0/platform/libpcap.yaml b/Platform/v1.0/platform/libpcap.yaml index 4db1f00..4f01997 100644 --- a/Platform/v1.0/platform/libpcap.yaml +++ b/Platform/v1.0/platform/libpcap.yaml @@ -12,7 +12,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_pcap/usr/share - - cp -rav /usr/tmp_pcap/usr / + - cp -ravP --remove-destination /usr/tmp_pcap/usr / - rm -rfv /usr/tmp_pcap cleanup-platform: - "*.la" @@ -36,7 +36,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_pcap/usr/share - - cp -rav /usr/tmp_pcap/usr / + - cp -ravP --remove-destination /usr/tmp_pcap/usr / - rm -rfv /usr/tmp_pcap cleanup-platform: - "*.la" diff --git a/Platform/v1.0/platform/libudev.yaml b/Platform/v1.0/platform/libudev.yaml index a6785be..6030a72 100644 --- a/Platform/v1.0/platform/libudev.yaml +++ b/Platform/v1.0/platform/libudev.yaml @@ -21,7 +21,7 @@ modules: post-install: - rm -rfv /usr/tmp_udev/usr/share - mv /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/bin - - cp -rav /usr/tmp_udev/usr / + - cp -ravP --remove-destination /usr/tmp_udev/usr / - rm -rfv /usr/tmp_udev cleanup-platform: - "*.la" @@ -51,7 +51,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_udev/usr/share /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/libexec - - cp -rav /usr/tmp_udev/usr / + - cp -ravP --remove-destination /usr/tmp_udev/usr / - rm -rfv /usr/tmp_udev cleanup-platform: - "*.la" diff --git a/Platform/v1.0/platform/vkd3d.yaml b/Platform/v1.0/platform/vkd3d.yaml index 5694917..07b663f 100644 --- a/Platform/v1.0/platform/vkd3d.yaml +++ b/Platform/v1.0/platform/vkd3d.yaml @@ -13,7 +13,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_spirv/usr/share - - cp -rav /usr/tmp_spirv/usr / + - cp -ravP --remove-destination /usr/tmp_spirv/usr / - rm -rfv /usr/tmp_spirv cleanup-platform: - "/include" @@ -29,7 +29,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_vkd3d/usr/share - - cp -rav /usr/tmp_vkd3d/usr / + - cp -ravP --remove-destination /usr/tmp_vkd3d/usr / - rm -rfv /usr/tmp_vkd3d cleanup-platform: - "*.la" @@ -53,7 +53,7 @@ modules: - install post-install: - rm -rfv /usr/tmp_vkd3d/usr/share - - cp -rav /usr/tmp_vkd3d/usr / + - cp -ravP --remove-destination /usr/tmp_vkd3d/usr / - rm -rfv /usr/tmp_vkd3d cleanup-platform: - "*.la" diff --git a/Platform/v1.0/platform/winetricks.yaml b/Platform/v1.0/platform/winetricks.yaml index f5f0c14..8c846cb 100644 --- a/Platform/v1.0/platform/winetricks.yaml +++ b/Platform/v1.0/platform/winetricks.yaml @@ -10,7 +10,7 @@ build-options: - install post-install: - rm -rfv /usr/tmp_winetricks/usr/share - - cp -rfv /usr/tmp_winetricks/usr/* /usr + - cp -ravP --remove-destination /usr/tmp_winetricks/usr/* /usr - rm -rf /usr/tmp_winetricks modules: @@ -25,5 +25,5 @@ modules: - install post-install: - rm -rfv /usr/tmp_cabextract/usr/share - - cp -rfv /usr/tmp_cabextract/usr/* /usr + - cp -ravP --remove-destination /usr/tmp_cabextract/usr/* /usr - rm -rf /usr/tmp_cabextract diff --git a/Platform/v1.0/sdk/mingw.yaml b/Platform/v1.0/sdk/mingw.yaml index 7f6777a..cbef9d9 100644 --- a/Platform/v1.0/sdk/mingw.yaml +++ b/Platform/v1.0/sdk/mingw.yaml @@ -24,7 +24,7 @@ modules: - install post-install: - rm -rf /usr/tmp_binutils/usr/share - - cp -rf /usr/tmp_binutils/usr / + - cp -raP --remove-destination /usr/tmp_binutils/usr / - rm -rfv /usr/tmp_binutils cleanup-platform: - "*" @@ -47,7 +47,7 @@ modules: - echo "" > /usr/tmp_mingw/usr/i686-w64-mingw32/include/pthread_unistd.h post-install: - rm -rf /usr/tmp_mingw/usr/share - - cp -rf /usr/tmp_mingw/usr / + - cp -rP --remove-destination /usr/tmp_mingw/usr / - rm -rfv /usr/tmp_mingw cleanup-platform: - "*" @@ -83,12 +83,10 @@ modules: - --enable-default-pie - --enable-fully-dynamic-string - --enable-languages=c,lto,c++ - - --enable-linker-build-id - --enable-lto - --enable-plugin - --enable-shared - --enable-static - - --enable-version-specific-runtime-libs - --with-system-zlib builddir: true no-make-install: true @@ -98,7 +96,7 @@ modules: post-install: - make DESTDIR=/usr/tmp_gcc install-gcc - rm -rf /usr/tmp_gcc/usr/share - - cp -rf /usr/tmp_gcc/usr / + - cp -raP --remove-destination /usr/tmp_gcc/usr / - rm -rfv /usr/tmp_gcc /lib/cpp cleanup-platform: - "*" @@ -126,7 +124,7 @@ modules: - install post-install: - rm -rf /usr/tmp_mingw/usr/share - - cp -rf /usr/tmp_mingw/usr / + - cp -raP --remove-destination /usr/tmp_mingw/usr / - rm -rfv /usr/tmp_mingw cleanup-platform: - "*" @@ -188,7 +186,7 @@ modules: - install post-install: - rm -rf /usr/tmp_binutils/usr/share - - cp -rf /usr/tmp_binutils/usr / + - cp -raP --remove-destination /usr/tmp_binutils/usr / - rm -rfv /usr/tmp_binutils cleanup-platform: - "*" @@ -210,7 +208,7 @@ modules: - cd builds && make DESTDIR=/usr/tmp_mingw install post-install: - rm -rf /usr/tmp_mingw/usr/share - - cp -rf /usr/tmp_mingw/usr / + - cp -raP --remove-destination /usr/tmp_mingw/usr / - rm -rfv /usr/tmp_mingw cleanup-platform: - "*" @@ -248,12 +246,10 @@ modules: - --enable-default-pie - --enable-fully-dynamic-string - --enable-languages=c,lto,c++ - - --enable-linker-build-id - --enable-lto - --enable-plugin - --enable-shared - --enable-static - - --enable-version-specific-runtime-libs - --with-system-zlib builddir: true no-make-install: true @@ -263,7 +259,7 @@ modules: post-install: - make DESTDIR=/usr/tmp_gcc install-gcc - rm -rf /usr/tmp_gcc/usr/share - - cp -rf /usr/tmp_gcc/usr / + - cp -raP --remove-destination /usr/tmp_gcc/usr / - rm -rfv /usr/tmp_gcc /lib/cpp cleanup-platform: - "*" @@ -330,7 +326,7 @@ modules: - install post-install: - rm -rf /usr/tmp_gcc/usr/share - - cp -rf /usr/tmp_gcc/usr / + - cp -raP --remove-destination /usr/tmp_gcc/usr / - rm -rfv /usr/tmp_gcc /lib/cpp cleanup-platform: - "*"