talimat 835 B

123456789101112131415161718192021222324252627282930
  1. # Tanım: Soketli hızlı mesajlaşma sistemi. C ve C ++ bağlamaları. aka 0MQ, ZMQ.
  2. # URL: http://www.zeromq.org
  3. # Paketçi: milisarge
  4. # Gerekler: asciidoc xmlto libsodium libpgm
  5. # Grup: kütüphane
  6. isim=zeromq
  7. surum=4.2.2
  8. devir=1
  9. kaynak=(https://github.com/zeromq/libzmq/releases/download/v$surum/$isim-$surum.tar.gz
  10. https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp::zmq.hpp.4.2.2)
  11. derle() {
  12. sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $isim-$surum/configure
  13. cp zmq.hpp.$surum zmq.hpp
  14. cd "$SRC/$isim-$surum"
  15. ./configure prefix=/usr --with-pgm --with-libsodium \
  16. --enable-static
  17. make
  18. #LANG=C gcc -c ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
  19. #rm -f test.o
  20. #return 0
  21. #make -k check
  22. make DESTDIR="$PKG" install
  23. install -Dm644 "$SRC/zmq.hpp.4.2.2" "$PKG/usr/include/zmq.hpp"
  24. }