summaryrefslogtreecommitdiffstats
path: root/main/zeromq/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-21 08:00:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-21 08:00:19 +0000
commit04297c4e2b1bfd4a50618cbee14f272928b14c85 (patch)
tree288f4eba91674226deaa997c366e61fbe4dc489e /main/zeromq/APKBUILD
parent3c3179836816cb7e68c25709e0c4561c7f412815 (diff)
downloadaports-04297c4e2b1bfd4a50618cbee14f272928b14c85.tar.bz2
aports-04297c4e2b1bfd4a50618cbee14f272928b14c85.tar.xz
main/zeromq: moved from testing
Diffstat (limited to 'main/zeromq/APKBUILD')
-rw-r--r--main/zeromq/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/zeromq/APKBUILD b/main/zeromq/APKBUILD
new file mode 100644
index 000000000..6715f0af9
--- /dev/null
+++ b/main/zeromq/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=zeromq
+pkgver=2.1.7
+pkgrel=2
+pkgdesc="The ZeroMQ messaging library and tools"
+url="http://www.zeromq.org/"
+arch="all"
+license="LGPLv3+"
+depends=
+makedepends="util-linux-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc libzmq"
+source="http://download.zeromq.org/zeromq-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+libzmq() {
+ pkgdesc="The ZeroMQ messaging library"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libzmq.so.* "$subpkgdir"/usr/lib/
+}
+
+md5sums="7d3120f8a8fb913a7e55c57c6eb024f3 zeromq-2.1.7.tar.gz"