libwebsockets
This commit is contained in:
		
							parent
							
								
									7059452fb0
								
							
						
					
					
						commit
						8ea067b1b9
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								talimatname/genel/l/libwebsockets/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								talimatname/genel/l/libwebsockets/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,21 @@
 | 
				
			||||||
 | 
					# Tanım: Websocket istemcileri ve sunucuları için C kütüphanesi
 | 
				
			||||||
 | 
					# URL: https://libwebsockets.org
 | 
				
			||||||
 | 
					# Paketçi: Cihan Alkan
 | 
				
			||||||
 | 
					# Gerekler: cmake
 | 
				
			||||||
 | 
					# Grup: kütüphane
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					isim=libwebsockets
 | 
				
			||||||
 | 
					surum=2.4.1
 | 
				
			||||||
 | 
					devir=1
 | 
				
			||||||
 | 
					kaynak=(https://github.com/warmcat/libwebsockets/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					derle() {
 | 
				
			||||||
 | 
					  cd "$isim-$surum"
 | 
				
			||||||
 | 
					  mkdir build && cd build
 | 
				
			||||||
 | 
					  # http2 support -DLWS_WITH_HTTP2=1
 | 
				
			||||||
 | 
					  cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
 | 
				
			||||||
 | 
					  make
 | 
				
			||||||
 | 
					  make DESTDIR="${PKG}" install
 | 
				
			||||||
 | 
					  cd ..
 | 
				
			||||||
 | 
					  install -Dm644 LICENSE "${PKG}/usr/share/licenses/${isim}/LICENSE"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue