wok annotate glusterfs/receipt @ rev 24642
updated hfsprescue (3.4 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 17:03:53 2022 +0100 (2022-03-09) |
parents | c37e3426c78d |
children | 232ba43d30af |
rev | line source |
---|---|
pascal@13230 | 1 # SliTaz package receipt. |
pascal@13230 | 2 |
pascal@13230 | 3 PACKAGE="glusterfs" |
erjo@13537 | 4 VERSION="3.3.1" |
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@20669 | 9 WEB_SITE="https://www.gluster.org/" |
pascal@13230 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@13537 | 11 WGET_URL="http://bits.gluster.com/pub/gluster/glusterfs/src/$TARBALL" |
pascal@13230 | 12 |
pascal@13230 | 13 DEPENDS="python readline mpc-library elfutils openssl" |
pascal@13230 | 14 BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev" |
pascal@13230 | 15 |
pascal@24540 | 16 # What is the latest version available today? |
pascal@24540 | 17 current_version() |
pascal@24540 | 18 { |
pascal@24540 | 19 wget -O - https://github.com/gluster/glusterfs/tags 2>/dev/null | \ |
pascal@24540 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24540 | 21 } |
pascal@24540 | 22 |
pascal@13230 | 23 # Rules to configure and make the package. |
pascal@13230 | 24 compile_rules() |
pascal@13230 | 25 { |
pascal@13230 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13230 | 27 --libexecdir=/usr/share \ |
pascal@13230 | 28 --mandir=/usr/share/man \ |
pascal@13230 | 29 --sysconfdir=/etc \ |
pascal@13230 | 30 --localstatedir=/var \ |
pascal@13230 | 31 $CONFIGURE_ARGS && |
pascal@13230 | 32 make && |
pascal@22349 | 33 make -j 1 install |
pascal@13230 | 34 } |
pascal@13230 | 35 |
pascal@13230 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13230 | 37 genpkg_rules() |
pascal@13230 | 38 { |
pascal@13230 | 39 mkdir -p $fs/usr/share |
erjo@13537 | 40 cp -a $install/etc $fs |
erjo@13537 | 41 cp -a $install/var $fs |
erjo@13537 | 42 cp -a $install/sbin $fs |
erjo@13537 | 43 cp -a $install/usr/sbin $fs/usr |
erjo@13537 | 44 cp -a $install/usr/lib $fs/usr |
erjo@13537 | 45 cp -a $install/usr/share/glusterfs $fs/usr/share |
al@18077 | 46 |
erjo@13537 | 47 # Clean-up |
erjo@13537 | 48 find $fs/usr/lib -name "*.*a" -exec rm -f {} \; |
pascal@13230 | 49 } |