milis/talimatname/genel/z/zeromq/talimat

30 lines
835 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Soketli hızlı mesajlaşma sistemi. C ve C ++ bağlamaları. aka 0MQ, ZMQ.
# URL: http://www.zeromq.org
# Paketçi: milisarge
# Gerekler: asciidoc xmlto libsodium libpgm
# Grup: kütüphane
isim=zeromq
surum=4.2.2
devir=1
kaynak=(https://github.com/zeromq/libzmq/releases/download/v$surum/$isim-$surum.tar.gz
https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp::zmq.hpp.4.2.2)
derle() {
sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $isim-$surum/configure
cp zmq.hpp.$surum zmq.hpp
cd "$SRC/$isim-$surum"
./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"
}