| 
									
										
										
										
											2012-11-29 00:09:56 +00:00
										 |  |  | # Copyright 2012 Nikolay Orlyuk | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-14 18:59:13 +00:00
										 |  |  | require github | 
					
						
							| 
									
										
										
										
											2012-11-29 00:09:56 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | SUMMARY="The F# compiler, core library and core tools (open source edition)" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LICENCES="Apache-2.0" | 
					
						
							|  |  |  | SLOT="0" | 
					
						
							|  |  |  | PLATFORMS="~amd64" | 
					
						
							|  |  |  | MYOPTIONS="" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DEPENDENCIES="
 | 
					
						
							|  |  |  |     build: | 
					
						
							|  |  |  |         virtual/pkg-config | 
					
						
							|  |  |  |     build+run: | 
					
						
							| 
									
										
										
										
											2016-10-20 20:23:25 +00:00
										 |  |  |         dev-lang/mono[>=4.2.2.30-r1] | 
					
						
							| 
									
										
										
										
											2012-11-29 00:09:56 +00:00
										 |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | BUGS_TO="virkony@gmail.com" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-12 07:33:34 +00:00
										 |  |  | DEFAULT_SRC_COMPILE_PARAMS=( -j1 ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | src_compile() { | 
					
						
							|  |  |  |     # uses NuGet to build, no easy way around, | 
					
						
							|  |  |  |     # unless you like the alternative in e.g. games-strategy/openra | 
					
						
							|  |  |  |     esandbox disable_net | 
					
						
							|  |  |  |     default | 
					
						
							|  |  |  |     esandbox enable_net | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | src_install() { | 
					
						
							|  |  |  |     esandbox disable_net | 
					
						
							|  |  |  |     default | 
					
						
							|  |  |  |     esandbox enable_net | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-14 18:59:13 +00:00
										 |  |  |     dodir /usr/$(exhost --target) | 
					
						
							|  |  |  |     edo mv "${IMAGE}"/usr/lib "${IMAGE}"/usr/$(exhost --target)/lib | 
					
						
							|  |  |  |     edo mv "${IMAGE}"/usr/bin "${IMAGE}"/usr/$(exhost --target)/bin | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-12 07:33:34 +00:00
										 |  |  |     # delete empty directories | 
					
						
							|  |  |  |     edo find "${IMAGE}" -type d -empty -delete | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2012-11-29 00:09:56 +00:00
										 |  |  | 
 |