void-packages/srcpkgs/ceph/template
2017-06-22 02:01:06 -05:00

47 lines
1.5 KiB
Bash

# Template file for 'ceph'
pkgname=ceph
version=11.2.0
revision=1
build_style=cmake
configure_args=" -DWITH_OPENLDAP=OFF -DWITH_NSS=ON -DWITH_LTTNG=OFF -DWITH_SYSTEM_BOOST=ON"
hostmakedepends="automake libtool pkg-config yasm python-devel python-setuptools
python-virtualenv python-pip python-Sphinx python-Cython python3-Cython"
makedepends="zlib-devel bzip2-devel liblzma-devel xfsprogs-devel leveldb-devel
boost-devel boost-python expat-devel libcurl-devel fuse-devel libaio-devel libatomic_ops-devel
libedit-devel ncurses-devel libuuid-devel libblkid-devel eudev-libudev-devel
nss-devel snappy-devel keyutils-devel fcgi-devel jemalloc-devel"
short_desc="Distributed, fault-tolerant storage platform"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ceph.com/"
distfiles="http://download.ceph.com/tarballs/ceph-${version}.tar.gz"
checksum=ac7c16601554adb7150862e5ef8e3df0297ac02453e6000b86c8473c077fcaf3
case "$XBPS_TARGET_MACHINE" in
*-musl)
broken="Needs a lot of include patching at minimum"
;;
i686*)
broken="Doesn't correctly detect i686 build"
;;
esac
nocross="Cross builds are not correctly detected"
post_install() {
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin/
mkdir -p ${DESTDIR}/etc
mv ${DESTDIR}/usr/etc/* ${DESTDIR}/etc/
# We aren't runing SYSV
rm -rf ${DESTDIR}/etc/init.d
}
ceph-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}