mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
New package: ceph-10.2.0
This commit is contained in:
parent
8a687f5410
commit
86ad813e14
2 changed files with 54 additions and 0 deletions
11
srcpkgs/ceph/patches/musl.patch
Normal file
11
srcpkgs/ceph/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/include/buffer.h.orig 2016-04-28 18:46:27.769231116 +0200
|
||||||
|
+++ src/include/buffer.h 2016-04-28 18:47:36.872928731 +0200
|
||||||
|
@@ -22,6 +22,8 @@
|
||||||
|
# define _XOPEN_SOURCE 600
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <sys/cdefs.h>
|
||||||
|
+
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <sys/uio.h>
|
||||||
|
|
43
srcpkgs/ceph/template
Normal file
43
srcpkgs/ceph/template
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Template file for 'ceph'
|
||||||
|
pkgname=ceph
|
||||||
|
version=10.2.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--without-man-pages --with-radosgw --without-openldap
|
||||||
|
--with-nss --without-cython --without-tcmalloc
|
||||||
|
--without-crytocpp --without-librocksdb --disable-static"
|
||||||
|
hostmakedepends="automake libtool pkg-config yasm python-devel python-setuptools
|
||||||
|
python-virtualenv python-pip python-Sphinx"
|
||||||
|
makedepends="zlib-devel bzip2-devel liblzma-devel xfsprogs-devel leveldb-devel
|
||||||
|
boost-devel 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"
|
||||||
|
short_desc="Distributed, fault-tolerant storage platform delivering object, block, and file system"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://ceph.com/"
|
||||||
|
distfiles="http://download.ceph.com/tarballs/ceph-${version}.tar.gz"
|
||||||
|
checksum=1a39d919beccaa26ddfbaeac04eebb80f4d43946a59a18e2e25a9a805d5b262d
|
||||||
|
|
||||||
|
# - Needs NEON on ARM (armv7+)
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv7*) CFLAGS="-mfpu=neon";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl)
|
||||||
|
sed -i '/no resolv library found/s/AC_MSG_FAILURE/AC_MSG_RESULT/' configure.ac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
|
||||||
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
|
vmkdir usr/share/bash-completion/completions
|
||||||
|
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
||||||
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue