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