wok-next view glusterfs/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 75d3dd3c761f |
children | a3c581bf52b8 |
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="http://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="glusterfs-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 }