Build GMP from hg
This commit is contained in:
		
							parent
							
								
									3ad7540a02
								
							
						
					
					
						commit
						20ef083828
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,21 +1,21 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
GMP_SRC="https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz"
 | 
			
		||||
SCRIPT_REPO="https://gmplib.org/repo/gmp/"
 | 
			
		||||
SCRIPT_HGREV="cc75cab76738"
 | 
			
		||||
 | 
			
		||||
ffbuild_enabled() {
 | 
			
		||||
    return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ffbuild_dockerbuild() {
 | 
			
		||||
    wget "$GMP_SRC" -O gmp.tar.xz
 | 
			
		||||
    tar xaf gmp.tar.xz
 | 
			
		||||
    rm gmp.tar.xz
 | 
			
		||||
    cd gmp*
 | 
			
		||||
    hg clone -r "$SCRIPT_HGREV" -u "$SCRIPT_HGREV" "$SCRIPT_REPO" gmp
 | 
			
		||||
    cd gmp
 | 
			
		||||
 | 
			
		||||
    autoreconf -i
 | 
			
		||||
    ./.bootstrap
 | 
			
		||||
 | 
			
		||||
    local myconf=(
 | 
			
		||||
        --prefix="$FFBUILD_PREFIX"
 | 
			
		||||
        --enable-maintainer-mode
 | 
			
		||||
        --disable-shared
 | 
			
		||||
        --enable-static
 | 
			
		||||
        --with-pic
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue