wok view glusterfs/receipt @ rev 24100

Up gzip (1.11), lrzip (0.641), lziprecover (1.22)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 13:07:33 2021 +0000 (2021-09-16)
parents a78610b2eb47
children 544e47246b33
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --libexecdir=/usr/share \
21 --mandir=/usr/share/man \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -j 1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/var $fs
35 cp -a $install/sbin $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/glusterfs $fs/usr/share
40 # Clean-up
41 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
42 }