wok view glusterfs/receipt @ rev 24646
updated hostapd (2.9 -> 2.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 11:11:28 2022 +0100 (2022-03-10) |
parents | c37e3426c78d |
children | 232ba43d30af |
line source
1 # SliTaz package receipt.
3 PACKAGE="glusterfs"
4 VERSION="3.3.1"
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="http://bits.gluster.com/pub/gluster/glusterfs/src/$TARBALL"
13 DEPENDS="python readline mpc-library elfutils openssl"
14 BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev"
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 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --libexecdir=/usr/share \
28 --mandir=/usr/share/man \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make -j 1 install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/etc $fs
41 cp -a $install/var $fs
42 cp -a $install/sbin $fs
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/glusterfs $fs/usr/share
47 # Clean-up
48 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
49 }