milis/talimatname/genel/r/restbed/talimat

25 lines
615 B
Plaintext
Raw Normal View History

2017-07-25 02:30:09 +02:00
# Description: A framework for asynchronous RESTful functionality in C++11 applications
# URL: https://github.com/Corvusoft/restbed
# Packager: milisarge
# Depends on: cmake asio kashmir
name=restbed
version=4.6
release=1
2017-07-26 01:53:37 +02:00
source=(https://github.com/Corvusoft/restbed/archive/$version.tar.gz::$name-$version.tar.gz
2017-07-25 02:30:09 +02:00
strand.patch)
build() {
cd "$SRC/$name-$version"
# 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
}