2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: A framework for asynchronous RESTful functionality in C++11 applications
|
2017-07-25 02:30:09 +02:00
|
|
|
|
# URL: https://github.com/Corvusoft/restbed
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake asio kashmir
|
2017-07-25 02:30:09 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=restbed
|
|
|
|
|
surum=4.6
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/Corvusoft/restbed/archive/$surum.tar.gz::$isim-$surum.tar.gz
|
2017-07-25 02:30:09 +02:00
|
|
|
|
strand.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$SRC/$isim-$surum"
|
2017-07-25 02:30:09 +02:00
|
|
|
|
# Necessary to build against asio 1.10.X
|
|
|
|
|
patch -p1 < "$SRC"/strand.patch
|
|
|
|
|
mkdir -p build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
|
-DBUILD_SHARED=on
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
|
}
|