wok-next view glusterfs/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents c297e478f64e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glusterfs"
4 VERSION="7.6"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.gluster.org/pub/gluster/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
14 BUILD_DEPENDS="acl-dev curl-dev elfutils flex libaio-dev libtirpc-dev liburcu-dev
15 libxml2-dev mpc-library openssl-dev python-dev readline-dev rpcsvc-proto
16 sqlite3-dev util-linux-uuid-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules()
20 {
21 sed -i "/^cat/,/^EOM/d;s/exit/echo '$HOST_SYSTEM'\n&/" \
22 config.sub
24 export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/"
25 export LDFLAGS="$LDFLAGS -ltirpc"
27 ./configure \
28 --libexecdir=/usr/share \
29 $CONFIGURE_ARGS &&
30 sed -i 's| -lfl | |' $src/libglusterfs/src/Makefile &&
31 fix libtool &&
32 make &&
33 make install || return 1
35 fix symlinks
36 }
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 glusterfs)
42 copy @std
43 DEPENDS="acl libaio libcurl libsqlite3 libtirpc liburcu libxml2
44 openssl python readline zlib"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="acl-dev glusterfs sqlite3-dev"
49 ;;
50 esac
51 }