Created
December 2, 2018 07:28
-
-
Save quangIO/5cac7b95d6705997ba881aee066c119e to your computer and use it in GitHub Desktop.
Seastar PKGBUILD for Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=seastar-git | |
pkgdesc='High performance server-side application framework' | |
pkgver=r3925.c79e9dec | |
pkgrel=1 | |
arch=('x86_64') | |
url='https://github.com/scylladb/seastar' | |
license=('Apache-2') | |
depends=('hwloc' 'boost' 'boost-libs' 'hwloc' 'numactl' 'libpciaccess' 'crypto++' 'libxml2' 'xfsprogs' 'gnutls' 'lksctp-tools' 'lz4' 'systemtap' 'libtool' 'yaml-cpp') | |
makedepends=('git' 'python' 'cmake' 'ninja' 'gcc' 'ragel') | |
source=("git+https://github.com/scylladb/seastar#branch=master") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/seastar" | |
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) | |
} | |
prepare() { | |
cd seastar | |
git clone https://github.com/fmtlib/fmt --depth 1 -b master | |
mkdir build | |
cmake -DCMAKE_INSTALL_PREFIX=/usr .. -DSeastar_EXCLUDE_TESTS_FROM_ALL=ON -DSeastar_APPS=OFF | |
} | |
build() { | |
cd seastar/build | |
make | |
} | |
package() { | |
cd seastar/build | |
make DESTDIR="$pkgdir" install | |
cd "$pkgdir" && mv usr/lib64 usr/lib | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment