zeromq.paketlendi
This commit is contained in:
		
							parent
							
								
									6df97ee653
								
							
						
					
					
						commit
						aa947bcbb4
					
				
					 2 changed files with 47 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								talimatname/genel/libpgm/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								talimatname/genel/libpgm/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					# Description: OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)
 | 
				
			||||||
 | 
					# URL: https://www.freshports.org/net/openpgm/
 | 
				
			||||||
 | 
					# Packager: milisarge
 | 
				
			||||||
 | 
					# Depends on: python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					name=libpgm
 | 
				
			||||||
 | 
					version=5.2.122
 | 
				
			||||||
 | 
					release=1
 | 
				
			||||||
 | 
					source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/$name-$version.tar.gz
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build() {
 | 
				
			||||||
 | 
					  cd "$SRC/$name-$version/openpgm/pgm"
 | 
				
			||||||
 | 
					  find . -type f -exec sed -i 's/python/python2/g' {} \+
 | 
				
			||||||
 | 
					  cd "$SRC/$name-$version/openpgm/pgm"
 | 
				
			||||||
 | 
					  ./configure --prefix=/usr
 | 
				
			||||||
 | 
					  make
 | 
				
			||||||
 | 
					  make prefix="$PKG/usr" install
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										28
									
								
								talimatname/genel/zeromq/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								talimatname/genel/zeromq/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,28 @@
 | 
				
			||||||
 | 
					# Description: Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ.
 | 
				
			||||||
 | 
					# URL: http://www.zeromq.org
 | 
				
			||||||
 | 
					# Packager: milisarge
 | 
				
			||||||
 | 
					# Depends on: asciidoc xmlto libsodium libpgm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					name=zeromq
 | 
				
			||||||
 | 
					version=4.2.2
 | 
				
			||||||
 | 
					release=1
 | 
				
			||||||
 | 
					source=(https://github.com/zeromq/libzmq/releases/download/v$version/$name-$version.tar.gz
 | 
				
			||||||
 | 
							https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp::zmq.hpp.4.2.2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $name-$version/configure
 | 
				
			||||||
 | 
					  cp zmq.hpp.$version zmq.hpp
 | 
				
			||||||
 | 
					  cd "$SRC/$name-$version"
 | 
				
			||||||
 | 
					  ./configure prefix=/usr --with-pgm --with-libsodium \
 | 
				
			||||||
 | 
					  --enable-static
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  make
 | 
				
			||||||
 | 
					  #LANG=C gcc -c ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
 | 
				
			||||||
 | 
					  #rm -f test.o
 | 
				
			||||||
 | 
					  #return 0
 | 
				
			||||||
 | 
					  #make -k check
 | 
				
			||||||
 | 
					  make DESTDIR="$PKG" install
 | 
				
			||||||
 | 
					  install -Dm644 "$SRC/zmq.hpp.4.2.2" "$PKG/usr/include/zmq.hpp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue