blob: 1058b80d3647b5e0a8b871e7496c40ade654ef9e (
plain)
1 # Description: headers for mingw-w64 toolchain
2 # URL: http://mingw-w64.org/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4
5 name=mingw-w64-headers
6 version=10.0.0
7 release=1
8 source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v$version.tar.bz2)
9
10 build() {
11 for T in {i686,x86_64}-w64-mingw32; do
12 mkdir build-$T
13 cd build-$T
14 ../mingw-w64-v$version/mingw-w64-headers/configure --prefix=/usr/$T --host=$T
15 make DESTDIR=$PKG install
16 cd ..
17 done
18
19 ln -sv x86_64-w64-mingw32 $PKG/usr/mingw
20 ln -sv lib $PKG/usr/x86_64-w64-mingw32/lib64
21 }
|