forked from hasufell/hasufell-repository
		
	dev-ocaml/stdint: initial import of version 0.3.0
This commit is contained in:
		
							parent
							
								
									0086c94880
								
							
						
					
					
						commit
						026959c46f
					
				
							
								
								
									
										34
									
								
								packages/dev-ocaml/stdint/stdint-0.3.0.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								packages/dev-ocaml/stdint/stdint-0.3.0.exheres-0
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					# Copyright 2017 Julian Ospald <hasufell@posteo.de>
 | 
				
			||||||
 | 
					# Distributed under the terms of the GNU General Public License v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					require github [ user="andrenth" project="ocaml-${PN}" ]
 | 
				
			||||||
 | 
					require oasis
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SUMMARY="Various signed and unsigned integers for OCaml"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LICENCES="MIT"
 | 
				
			||||||
 | 
					SLOT="0"
 | 
				
			||||||
 | 
					PLATFORMS="~amd64"
 | 
				
			||||||
 | 
					MYOPTIONS=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					BUGS_TO="hasufell@posteo.de"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					src_prepare() {
 | 
				
			||||||
 | 
					    # sydbox violation: tries to change '/usr/<host>/lib/ocaml/ld.conf'
 | 
				
			||||||
 | 
					    export OCAMLFIND_LDCONF=ignore
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    default
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# need to overwrite prefix and libdir, since
 | 
				
			||||||
 | 
					# ocamlfind is invoked in some odd ways and $OCAMLFIND_DESTDIR
 | 
				
			||||||
 | 
					# is not consistently respected
 | 
				
			||||||
 | 
					src_configure() {
 | 
				
			||||||
 | 
					    edo ocaml setup.ml \
 | 
				
			||||||
 | 
					        -configure \
 | 
				
			||||||
 | 
					        --prefix "${IMAGE}/usr/$(exhost --target)" \
 | 
				
			||||||
 | 
					        --libdir "${IMAGE}/usr/$(exhost --target)/lib" \
 | 
				
			||||||
 | 
					        $(expecting_tests --recommended --enable-tests)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user