parent
0281b43736
commit
f17b04a875
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'cross-x86_64-w64-mingw32'
|
# Template file for 'cross-x86_64-w64-mingw32'
|
||||||
_gcc_version=9.3.0
|
_gcc_version=10.2.0
|
||||||
_binutils_version=2.32
|
_binutils_version=2.34
|
||||||
_gmp_version=6.1.2
|
_gmp_version=6.2.0
|
||||||
_mpfr_version=4.0.1
|
_mpfr_version=4.1.0
|
||||||
_mpc_version=1.1.0
|
_mpc_version=1.1.0
|
||||||
_isl_version=0.19
|
_isl_version=0.21
|
||||||
_mingw_version=6.0.0
|
_mingw_version=8.0.0
|
||||||
|
|
||||||
pkgname=cross-x86_64-w64-mingw32
|
pkgname=cross-x86_64-w64-mingw32
|
||||||
version=$_mingw_version
|
version=$_mingw_version
|
||||||
revision=5
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="flex perl python3 tar"
|
hostmakedepends="tar flex perl texinfo"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
# it's ok to build with current's -devel packages
|
# it's ok to build with current's -devel packages
|
||||||
# although it might break the package during compiler updates
|
# although it might break the package during compiler updates
|
||||||
|
@ -22,20 +22,20 @@ maintainer="Aleksey Tulinov <aleksey.tulinov@gmail.com>"
|
||||||
homepage="https://sourceforge.net/projects/mingw-w64/"
|
homepage="https://sourceforge.net/projects/mingw-w64/"
|
||||||
license="GPL-2.0-or-later, GPL-3.0-or-later, ZPL-2.1"
|
license="GPL-2.0-or-later, GPL-3.0-or-later, ZPL-2.1"
|
||||||
distfiles="
|
distfiles="
|
||||||
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2
|
${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.xz
|
||||||
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
|
${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz
|
||||||
${GNU_SITE}/mpc/mpc-${_mpc_version}.tar.gz
|
${GNU_SITE}/mpc/mpc-${_mpc_version}.tar.gz
|
||||||
https://gmplib.org/download/gmp/gmp-${_gmp_version}.tar.xz
|
${GNU_SITE}/gmp/gmp-${_gmp_version}.tar.xz
|
||||||
http://www.mpfr.org/mpfr-${_mpfr_version}/mpfr-${_mpfr_version}.tar.xz
|
${GNU_SITE}/mpfr/mpfr-${_mpfr_version}.tar.xz
|
||||||
http://isl.gforge.inria.fr/isl-${_isl_version}.tar.bz2
|
http://isl.gforge.inria.fr/isl-${_isl_version}.tar.bz2
|
||||||
${SOURCEFORGE_SITE}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${_mingw_version}.tar.bz2"
|
${SOURCEFORGE_SITE}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${_mingw_version}.tar.bz2"
|
||||||
checksum="de38b15c902eb2725eac6af21183a5f34ea4634cb0bcef19612b50e5ed31072d
|
checksum="f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
|
||||||
71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
|
b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
|
||||||
6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
|
6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
|
||||||
87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
|
258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
|
||||||
67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
|
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
|
||||||
d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
|
d18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859
|
||||||
805e11101e26d7897fce7d49cbb140d7bac15f3e085a91e0001e80b2adaf48f0"
|
44c740ea6ab3924bc3aa169bad11ad3c5766c5c8459e3126d44eabb8735a5762"
|
||||||
|
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
@ -46,7 +46,7 @@ lib32disabled=yes # disable build of 32bits packages
|
||||||
nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
|
nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
|
||||||
libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
|
libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
|
||||||
libssp.a libssp.dll.a libssp_nonshared.a
|
libssp.a libssp.dll.a libssp_nonshared.a
|
||||||
libstdc++.a libstdc++.dll.a libsupc++.a"
|
libstdc++.a libstdc++.dll.a libstdc++fs.a libsupc++.a"
|
||||||
|
|
||||||
# https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
|
# https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
|
||||||
# https://gcc.gnu.org/install/configure.html
|
# https://gcc.gnu.org/install/configure.html
|
||||||
|
@ -269,7 +269,7 @@ cross-x86_64-w64-mingw32-crt_package() {
|
||||||
# this subpackage exists to skip strip step on CRT files
|
# this subpackage exists to skip strip step on CRT files
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
noshlibsprovides=yes
|
noshlibprovides=yes
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
DESTDIR="$PKGDESTDIR" _install_crt "x86_64-w64-mingw32"
|
DESTDIR="$PKGDESTDIR" _install_crt "x86_64-w64-mingw32"
|
||||||
|
@ -282,12 +282,12 @@ cross-i686-w64-mingw32_package() {
|
||||||
nopie=yes
|
nopie=yes
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
noshlibsprovides=yes
|
noshlibprovides=yes
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
|
nostrip_files="libgcc.a libgcc_eh.a libgcc_s.a libgcov.a
|
||||||
libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
|
libatomic.a libatomic.dll.a libquadmath.a libquadmath.dll.a
|
||||||
libssp.a libssp.dll.a libssp_nonshared.a
|
libssp.a libssp.dll.a libssp_nonshared.a
|
||||||
libstdc++.a libstdc++.dll.a libsupc++.a"
|
libstdc++.a libstdc++.dll.a libstdc++fs.a libsupc++.a"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
DESTDIR="$PKGDESTDIR" _install_toolchain "i686-w64-mingw32"
|
DESTDIR="$PKGDESTDIR" _install_toolchain "i686-w64-mingw32"
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ cross-i686-w64-mingw32-crt_package() {
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
noshlibsprovides=yes
|
noshlibprovides=yes
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
DESTDIR="$PKGDESTDIR" _install_crt "i686-w64-mingw32"
|
DESTDIR="$PKGDESTDIR" _install_crt "i686-w64-mingw32"
|
||||||
|
|
Loading…
Reference in New Issue