50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# Template file for 'glusterfs'
|
|
pkgname=glusterfs
|
|
version=3.4.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--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="pkg-config python flex automake libtool"
|
|
makedepends="fuse-devel libxml2-devel libfl-devel openssl-devel readline-devel>=6.3 python"
|
|
# python is required by gsyncd.
|
|
depends="python"
|
|
pycompile_dirs="/usr/libexec/glusterfs/python/syncdaemon"
|
|
systemd_services="glusterd.service on"
|
|
conf_files="
|
|
/etc/glusterfs/glusterfs-logrotate
|
|
/etc/glusterfs/glusterd.vol"
|
|
short_desc="Distributed file system capable of scaling to several petabytes"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2, LGPL-3"
|
|
homepage="http://www.gluster.org/"
|
|
distfiles="http://download.gluster.org/pub/gluster/glusterfs/${version%.*}/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=4fcd42b13b60a67587de98e60ff679803433bbb0c11aa2b40c4135e2358cedef
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/glusterd.service 644 usr/lib/systemd/system
|
|
rm -rf ${DESTDIR}/var
|
|
}
|
|
|
|
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.*"
|
|
}
|
|
}
|