msgpack-c.guncellendi
This commit is contained in:
		
							parent
							
								
									a139f387d8
								
							
						
					
					
						commit
						ed1ff3b1ea
					
				
					 1 changed files with 8 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -4,16 +4,17 @@
 | 
			
		|||
# Depends on: cmake
 | 
			
		||||
 | 
			
		||||
name=msgpack-c
 | 
			
		||||
version=2.0.0
 | 
			
		||||
version=2.1.5
 | 
			
		||||
release=1
 | 
			
		||||
source=(https://github.com/msgpack/msgpack-c/archive/cpp-$version.tar.gz)
 | 
			
		||||
source=(https://github.com/msgpack/msgpack-c/releases/download/cpp-${version}/msgpack-${version}.tar.gz)
 | 
			
		||||
 | 
			
		||||
build() {
 | 
			
		||||
	cd $name-cpp-$version
 | 
			
		||||
 | 
			
		||||
	mkdir build ; cd build
 | 
			
		||||
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr
 | 
			
		||||
 | 
			
		||||
	cd msgpack-$version
 | 
			
		||||
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
 | 
			
		||||
		-DMSGPACK_CXX11=ON \
 | 
			
		||||
		-DMSGPACK_BUILD_EXAMPLES=OFF \
 | 
			
		||||
		-DCMAKE_BUILD_TYPE=Release \
 | 
			
		||||
		.
 | 
			
		||||
	make
 | 
			
		||||
	make DESTDIR=$PKG install 
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue