wok-next rev 13230
Move from undigest: glusterfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:38:58 2012 +0200 (2012-08-14) |
parents | 16108b974961 |
children | 2767d0bc2eb7 |
files | glusterfs/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/glusterfs/receipt Tue Aug 14 13:38:58 2012 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="glusterfs" 1.7 +VERSION="3.3.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Distributed file system." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.gluster.org/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL" 1.14 + 1.15 +DEPENDS="python readline mpc-library elfutils openssl" 1.16 +BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --libexecdir=/usr/share \ 1.24 + --mandir=/usr/share/man \ 1.25 + --sysconfdir=/etc \ 1.26 + --localstatedir=/var \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && 1.29 + make DESTDIR=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/share 1.36 + cp -a $_pkg/etc $fs 1.37 + cp -a $_pkg/var $fs 1.38 + cp -a $_pkg/sbin $fs 1.39 + cp -a $_pkg/usr/sbin $fs/usr 1.40 + cp -a $_pkg/usr/lib $fs/usr 1.41 + cp -a $_pkg/usr/share/glusterfs $fs/usr/share 1.42 +}