wok-next view glusterfs/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents a3c581bf52b8
children c297e478f64e
line source
1 # SliTaz package receipt v2.
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="https://www.gluster.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL"
14 BUILD_DEPENDS="flex python-dev readline-dev mpc-library elfutils openssl-dev \
15 acl-dev sqlite3-dev liburcu-dev libxml2-dev rpcsvc-proto libtirpc-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i "/^cat/,/^EOM/d;s/exit/echo '$HOST_SYSTEM'\n&/" config.sub
20 export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/"
21 export LDFLAGS="$LDFLAGS -ltirpc"
23 ./configure \
24 --libexecdir=/usr/share \
25 $CONFIGURE_ARGS &&
26 sed -i 's| -lfl | |' $src/libglusterfs/src/Makefile &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 fix symlinks
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 glusterfs)
37 copy @std
38 DEPENDS="acl libsqlite3 libtirpc liburcu libxml2 openssl python \
39 readline zlib"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="glusterfs acl-dev sqlite3-dev"
44 ;;
45 esac
46 }