diff options
Diffstat (limited to 'main/zeromq/APKBUILD')
-rw-r--r-- | main/zeromq/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/zeromq/APKBUILD b/main/zeromq/APKBUILD index 538412279c..b18b5cdf9f 100644 --- a/main/zeromq/APKBUILD +++ b/main/zeromq/APKBUILD @@ -1,8 +1,8 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zeromq pkgver=4.1.3 -pkgrel=0 +pkgrel=1 pkgdesc="The ZeroMQ messaging library and tools" url="http://www.zeromq.org/" arch="all" @@ -12,7 +12,8 @@ makedepends="util-linux-dev libsodium-dev perl python asciidoc xmlto autoconf automake" install= subpackages="$pkgname-dev $pkgname-doc libzmq" -source="http://download.zeromq.org/zeromq-$pkgver.tar.gz" +source="http://download.zeromq.org/zeromq-$pkgver.tar.gz + configure_werror.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -28,8 +29,6 @@ prepare() { build() { cd "$_builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -41,15 +40,18 @@ build() { package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 } libzmq() { pkgdesc="The ZeroMQ messaging library" - mkdir -p "$subpkgdir"/usr/lib + install -d "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libzmq.so.* "$subpkgdir"/usr/lib/ } -md5sums="d0824317348cfb44b8692e19cc73dc3a zeromq-4.1.3.tar.gz" -sha256sums="61b31c830db377777e417235a24d3660a4bcc3f40d303ee58df082fcd68bf411 zeromq-4.1.3.tar.gz" -sha512sums="2c993d18ea44e1cba890e024176af65b85b842ca4f8a22d319be4ace8388ab8828dd706b065f02754025bf271b1d7aa878c3f6655878248f7826452cb2a6134c zeromq-4.1.3.tar.gz" +md5sums="d0824317348cfb44b8692e19cc73dc3a zeromq-4.1.3.tar.gz +ba9f21b1f1b480ebf98969ad6f91da79 configure_werror.patch" +sha256sums="61b31c830db377777e417235a24d3660a4bcc3f40d303ee58df082fcd68bf411 zeromq-4.1.3.tar.gz +f802dc9217c9d3a4b756b4b5d3fd4cf2e59accecf154bf96955ab504298cde3a configure_werror.patch" +sha512sums="2c993d18ea44e1cba890e024176af65b85b842ca4f8a22d319be4ace8388ab8828dd706b065f02754025bf271b1d7aa878c3f6655878248f7826452cb2a6134c zeromq-4.1.3.tar.gz +baef095918e817f6bf7c267307e67dcd97c8ab568705f02d7a863a9ffe006acd9cc2aac238ac25cc2fdf787caf9d09f95109b8c368e1ad347a8a935ccc124549 configure_werror.patch" |