Add nasm fixed
This commit is contained in:
		
							parent
							
								
									f2b55321fb
								
							
						
					
					
						commit
						bd69bf93ab
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								pkgs/nasm/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								pkgs/nasm/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| pkgname=nasm | ||||
| pkgver=2.15 | ||||
| pkgrel=1 | ||||
| bad="gmake" | ||||
| 
 | ||||
| fetch(){ | ||||
| 	curl "https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz | ||||
| 	tar -xf $pkgname-$pkgver.tar.gz | ||||
| } | ||||
| 
 | ||||
| build(){ | ||||
| 	cd $pkgname-$pkgver | ||||
| 	./configure \ | ||||
| 		--build=x86_64-unknown-linux-musl \ | ||||
| 		--host=x86_64-unknown-linux-musl | ||||
| 		--prefix=/usr | ||||
| 	gmake | ||||
| } | ||||
| 
 | ||||
| package(){ | ||||
| 	cd $pkgname-$pkgver | ||||
| 	gmake DESTDIR="$pkgdir" install | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENSE | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue