wok view glusterfs/receipt @ rev 25046

Up glusterfs (10.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 12:04:57 2022 +0000 (23 months ago)
parents 232ba43d30af
children 76aba861a11e
line source
1 # SliTaz package receipt.
3 PACKAGE="glusterfs"
4 VERSION="10.2"
5 CATEGORY="misc"
6 SHORT_DESC="Distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL3"
9 WEB_SITE="https://www.gluster.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/gluster/glusterfs/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="python readline mpc-library elfutils openssl"
14 BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev libtirpc-dev liburcu-dev libaio-dev automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/gluster/glusterfs/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --libexecdir=/usr/share \
29 --mandir=/usr/share/man \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --without-tcmalloc \
33 --disable-linux-io_uring \
34 $CONFIGURE_ARGS &&
35 make &&
36 make -j 1 install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/var $fs
45 cp -a $install/sbin $fs
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/share/glusterfs $fs/usr/share
50 # Clean-up
51 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
52 }