419a0ee516
Closes #15074. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
62 lines
1.8 KiB
Bash
62 lines
1.8 KiB
Bash
# Template file for 'glusterfs'
|
|
pkgname=glusterfs
|
|
version=3.10.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-glupy --enable-crypt-xlator
|
|
--sbindir=/usr/bin --with-mountutildir=/usr/bin
|
|
ac_cv_file__etc_debian_version=no ac_cv_file__etc_SuSE_release=no
|
|
ac_cv_file__etc_redhat_release=no"
|
|
hostmakedepends="automake flex libtool pkg-config python"
|
|
makedepends="acl-devel fuse-devel libaio-devel liblvm2app-devel libressl-devel
|
|
liburcu-devel libxml2-devel sqlite-devel"
|
|
# python is required by gsyncd.
|
|
depends="python"
|
|
pycompile_dirs="/usr/libexec/glusterfs/python/syncdaemon"
|
|
short_desc="Free and open source software scalable network filesystem (client)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later, LGPL-3.0-only"
|
|
homepage="http://www.gluster.org/"
|
|
distfiles="https://download.gluster.org/pub/gluster/glusterfs/${version%.*}/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=2f5f604b1da0db014f522bc0c9052425018ede7d3e07c5f52d546cb7abdada07
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) broken="not yet supported";;
|
|
esac
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/var
|
|
vsv glusterfsd
|
|
}
|
|
|
|
glusterfs-server_package() {
|
|
short_desc="${short_desc/client/server}"
|
|
depends="glusterfs-${version}_${revision}"
|
|
conf_files="
|
|
/etc/glusterfs/glusterfs-logrotate
|
|
/etc/glusterfs/glusterd.vol"
|
|
pkg_install() {
|
|
vmove etc/glusterfs
|
|
vmove usr/bin/glfsheal
|
|
vmove usr/bin/gluster
|
|
vmove usr/bin/glusterd
|
|
vmove usr/share/man/man8/gluster.8
|
|
vmove usr/share/man/man8/glusterd.8
|
|
vsv glusterd
|
|
}
|
|
}
|
|
glusterfs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libglusterfs>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
libglusterfs_package() {
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|