wok-next annotate glusterfs/receipt @ rev 20433

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