🔒 Repository is read-only – file editing is disabled.

recipes/utils/zeromq/PAGBUILD.yaml main

42 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142
pkgname: zeromq
pkgver: '4.3.5'
pkgrel: '2'
pkgdesc: 'Fast messaging system built on sockets.  C and C++ bindings.  aka 0MQ, ZMQ'
url: 'https://www.zeromq.org'
arch: x86_64
license:
- MPL2

depends: []
makedepends:
- 'util-linux'
- libsodium
- asciidoc
- xmlto

source:
- 'https://github.com/${pkgname}/libzmq/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz'
- 'https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure

  ./configure prefix=/usr --with-libsodium \
              --with-documentation --disable-static
  make
  make DESTDIR=${PKGDIR} install
  install -Dm644 ./zmq.hpp ${PKGDIR}/usr/include/zmq.hpp

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libzmq.la

  install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true