http-parser
This commit is contained in:
		
							parent
							
								
									be4416a065
								
							
						
					
					
						commit
						34bbd14ff4
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								talimatname/genel/h/http-parser/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								talimatname/genel/h/http-parser/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
# Tanım: HTTP İstek/Yanıt için ayrıştırıcı
 | 
			
		||||
# URL: https://github.com/nodejs/http-parser
 | 
			
		||||
# Paketçi: Cihan_Alkan
 | 
			
		||||
# Gerekler:
 | 
			
		||||
# Grup: geliştirme
 | 
			
		||||
 | 
			
		||||
isim=http-parser
 | 
			
		||||
surum=2.7.1
 | 
			
		||||
devir=1
 | 
			
		||||
 | 
			
		||||
kaynak=(https://github.com/nodejs/http-parser/archive/v2.7.1.tar.gz::$isim-$surum.tar.gz)
 | 
			
		||||
 | 
			
		||||
derle() {
 | 
			
		||||
	cd $isim-$surum
 | 
			
		||||
	sed -i 's|-Werror||' ./Makefile
 | 
			
		||||
	make library
 | 
			
		||||
	make PREFIX="$PKG/usr" install
 | 
			
		||||
	install -Dm644 LICENSE-MIT \
 | 
			
		||||
		"${PKG}/usr/share/licenses/${isim}/LICENSE-MIT"
 | 
			
		||||
	ln -sf libhttp_parser.so.$surum "${PKG}/usr/lib/libhttp_parser.so"
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue