wok-6.x view glusterfs/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents 91d532bbdd2d
children
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 \
15 curl-dev libtirpc-dev liburcu-dev libaio-dev automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/gluster/glusterfs/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --libexecdir=/usr/share \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --without-tcmalloc \
34 --disable-linux-io_uring \
35 $CONFIGURE_ARGS &&
36 make &&
37 make -j 1 install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
44 cp -a $install/etc $fs
45 cp -a $install/var $fs
46 cp -a $install/sbin $fs
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/usr/share/glusterfs $fs/usr/share
51 # Clean-up
52 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
53 }