wok view glusterfs/receipt @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (22 months ago)
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 }