2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ.
|
2017-09-02 20:50:43 +02:00
|
|
|
|
# URL: http://www.zeromq.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: asciidoc xmlto libsodium libpgm
|
2017-09-02 20:50:43 +02:00
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-09-02 20:50:43 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
}
|