wok-next view glusterfs/receipt @ rev 20439

glibc: try to fix it again
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 22 16:14:21 2018 +0200 (2018-02-22)
parents 696326359d1c
children 757d032c55c7
line source
1 # SliTaz package receipt.
3 PACKAGE="glusterfs"
4 VERSION="3.12.5"
5 CATEGORY="misc"
6 SHORT_DESC="Distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL3"
9 WEB_SITE="http://www.gluster.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL"
13 DEPENDS="python readline mpc-library elfutils openssl"
14 BUILD_DEPENDS="flex python-dev readline-dev mpc-library elfutils openssl-dev \
15 acl-dev sqlite-dev liburcu-dev libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "/^cat/,/^EOM/d;s/exit/echo '$HOST_SYSTEM'\n&/" config.sub
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --libexecdir=/usr/share \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/etc $fs
36 cp -a $install/var $fs
37 cp -a $install/sbin $fs
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/glusterfs $fs/usr/share
42 # Clean-up
43 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
44 }