2013-11-05 11:02:43 +01:00
|
|
|
# Template file for 'glusterfs'
|
|
|
|
pkgname=glusterfs
|
2014-10-30 09:53:59 +01:00
|
|
|
version=3.5.2
|
2015-07-01 11:08:06 +02:00
|
|
|
revision=6
|
2013-11-05 11:02:43 +01:00
|
|
|
build_style=gnu-configure
|
2014-10-30 09:53:59 +01:00
|
|
|
configure_args="--disable-glupy --enable-crypt-xlator
|
2015-06-02 11:50:36 +02:00
|
|
|
--sbindir=/usr/bin --with-mountutildir=/usr/bin
|
2013-11-05 11:02:43 +01:00
|
|
|
ac_cv_file__etc_debian_version=no ac_cv_file__etc_SuSE_release=no
|
|
|
|
ac_cv_file__etc_redhat_release=no"
|
|
|
|
hostmakedepends="pkg-config python flex automake libtool"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="liblvm2app-devel fuse-devel libxml2-devel libfl-devel libressl-devel readline-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
# python is required by gsyncd.
|
|
|
|
depends="python"
|
|
|
|
pycompile_dirs="/usr/libexec/glusterfs/python/syncdaemon"
|
2014-10-30 09:53:59 +01:00
|
|
|
short_desc="A distributed userland file system - client"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-11-05 11:02:43 +01:00
|
|
|
license="GPL-2, LGPL-3"
|
|
|
|
homepage="http://www.gluster.org/"
|
|
|
|
distfiles="http://download.gluster.org/pub/gluster/glusterfs/${version%.*}/${version}/${pkgname}-${version}.tar.gz"
|
2014-10-30 09:53:59 +01:00
|
|
|
checksum=ef58b467a60fd6bd0685d4167a45f0860895414285b3908167b264aa63d276c3
|
2013-11-05 11:02:43 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-10-30 09:53:59 +01:00
|
|
|
./autogen.sh
|
2013-11-05 11:02:43 +01:00
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/var
|
2014-10-30 09:53:59 +01:00
|
|
|
vsv glusterfsd
|
2013-11-05 11:02:43 +01:00
|
|
|
}
|
|
|
|
|
2014-10-30 09:53:59 +01:00
|
|
|
glusterfs-server_package() {
|
|
|
|
short_desc="A distributed userland file system - server"
|
|
|
|
depends="glusterfs-${version}_${revision}"
|
|
|
|
conf_files="
|
|
|
|
/etc/glusterfs/glusterfs-logrotate
|
|
|
|
/etc/glusterfs/glusterd.vol"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc/glusterfs
|
2015-06-02 11:50:36 +02:00
|
|
|
vmove usr/bin/glfsheal
|
|
|
|
vmove usr/bin/gluster
|
|
|
|
vmove usr/bin/glusterd
|
2014-10-30 09:53:59 +01:00
|
|
|
vmove usr/share/man/man8/gluster.8
|
|
|
|
vmove usr/share/man/man8/glusterd.8
|
|
|
|
vsv glusterd
|
|
|
|
}
|
|
|
|
}
|
2013-11-05 11:02:43 +01:00
|
|
|
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.*"
|
|
|
|
}
|
|
|
|
}
|