2018-07-30 13:19:20 +02:00
|
|
|
|
# Tanım:C ++11 uygulamalarında asenkron RESTful işlevselliği için bir çerçeve
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# URL: https://github.com/Corvusoft/restbed
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake asio kashmir
|
2018-07-30 13:19:20 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=restbed
|
|
|
|
|
surum=4.6
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/Corvusoft/restbed/archive/$surum.tar.gz::$isim-$surum.tar.gz
|
|
|
|
|
strand.patch)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd "$SRC/$isim-$surum"
|
|
|
|
|
# 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
|
|
|
|
|
}
|