[arch-commits] Commit in restbed (7 files)

Baptiste Jonglez zorun at archlinux.org
Thu May 25 14:58:56 UTC 2017


    Date: Thursday, May 25, 2017 @ 14:58:55
  Author: zorun
Revision: 230101

archrelease: copy trunk to community-i686, community-x86_64

Added:
  restbed/repos/
  restbed/repos/community-i686/
  restbed/repos/community-i686/PKGBUILD
    (from rev 230100, restbed/trunk/PKGBUILD)
  restbed/repos/community-i686/strand.patch
    (from rev 230100, restbed/trunk/strand.patch)
  restbed/repos/community-x86_64/
  restbed/repos/community-x86_64/PKGBUILD
    (from rev 230100, restbed/trunk/PKGBUILD)
  restbed/repos/community-x86_64/strand.patch
    (from rev 230100, restbed/trunk/strand.patch)

-------------------------------+
 community-i686/PKGBUILD       |   41 ++++++++++++++++++++++++++++++++++++++++
 community-i686/strand.patch   |    8 +++++++
 community-x86_64/PKGBUILD     |   41 ++++++++++++++++++++++++++++++++++++++++
 community-x86_64/strand.patch |    8 +++++++
 4 files changed, 98 insertions(+)

Copied: restbed/repos/community-i686/PKGBUILD (from rev 230100, restbed/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-05-25 14:58:55 UTC (rev 230101)
@@ -0,0 +1,41 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Justin Wilcox <nat1192 at gmail dot com>
+pkgname=restbed
+pkgver=4.5
+pkgrel=1
+pkgdesc="A framework for asynchronous RESTful functionality in C++11 applications"
+arch=('i686' 'x86_64')
+url="https://github.com/Corvusoft/restbed"
+license=('AGPL3')
+depends=('openssl')
+makedepends=('cmake' 'asio' 'kashmir')
+source=("https://github.com/Corvusoft/restbed/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        "strand.patch")
+sha256sums=('dfa20b1cd68105b1f742120df4f9a3d8ffc42ba3ad56b4db7a02b209d341892b'
+            '58ed74b3db6d989a871d181e6875226cef4e81f77dac6b9a45b04ae5d4e96299')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Necessary to build against asio 1.10.X
+  patch -p1 < ../strand.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_SHARED=on
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  cd build/
+  make DESTDIR="$pkgdir" install
+}

Copied: restbed/repos/community-i686/strand.patch (from rev 230100, restbed/trunk/strand.patch)
===================================================================
--- repos/community-i686/strand.patch	                        (rev 0)
+++ repos/community-i686/strand.patch	2017-05-25 14:58:55 UTC (rev 230101)
@@ -0,0 +1,8 @@
+--- a/source/corvusoft/restbed/detail/socket_impl.hpp	2016-09-28 12:01:30.415787179 -0400
+--- a/source/corvusoft/restbed/detail/socket_impl.hpp	2016-09-28 12:01:33.329120391 -0400
+@@ -23,3 +23,3 @@
+ #include <asio/io_service.hpp>
+-#include <asio/io_service_strand.hpp>
++#include <asio/strand.hpp>
+ 
+

Copied: restbed/repos/community-x86_64/PKGBUILD (from rev 230100, restbed/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-05-25 14:58:55 UTC (rev 230101)
@@ -0,0 +1,41 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Justin Wilcox <nat1192 at gmail dot com>
+pkgname=restbed
+pkgver=4.5
+pkgrel=1
+pkgdesc="A framework for asynchronous RESTful functionality in C++11 applications"
+arch=('i686' 'x86_64')
+url="https://github.com/Corvusoft/restbed"
+license=('AGPL3')
+depends=('openssl')
+makedepends=('cmake' 'asio' 'kashmir')
+source=("https://github.com/Corvusoft/restbed/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        "strand.patch")
+sha256sums=('dfa20b1cd68105b1f742120df4f9a3d8ffc42ba3ad56b4db7a02b209d341892b'
+            '58ed74b3db6d989a871d181e6875226cef4e81f77dac6b9a45b04ae5d4e96299')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Necessary to build against asio 1.10.X
+  patch -p1 < ../strand.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_SHARED=on
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  cd build/
+  make DESTDIR="$pkgdir" install
+}

Copied: restbed/repos/community-x86_64/strand.patch (from rev 230100, restbed/trunk/strand.patch)
===================================================================
--- repos/community-x86_64/strand.patch	                        (rev 0)
+++ repos/community-x86_64/strand.patch	2017-05-25 14:58:55 UTC (rev 230101)
@@ -0,0 +1,8 @@
+--- a/source/corvusoft/restbed/detail/socket_impl.hpp	2016-09-28 12:01:30.415787179 -0400
+--- a/source/corvusoft/restbed/detail/socket_impl.hpp	2016-09-28 12:01:33.329120391 -0400
+@@ -23,3 +23,3 @@
+ #include <asio/io_service.hpp>
+-#include <asio/io_service_strand.hpp>
++#include <asio/strand.hpp>
+ 
+



More information about the arch-commits mailing list