wok-6.x rev 13537

Up: glusterfs (3.3.1) + improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Oct 23 21:57:32 2012 +0200 (2012-10-23)
parents c97aea7cf136
children 15c36eea64cb
files glusterfs/receipt
line diff
     1.1 --- a/glusterfs/receipt	Tue Oct 23 21:56:23 2012 +0200
     1.2 +++ b/glusterfs/receipt	Tue Oct 23 21:57:32 2012 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glusterfs"
     1.7 -VERSION="3.3.0"
     1.8 +VERSION="3.3.1"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Distributed file system."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WEB_SITE="http://www.gluster.org/"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WGET_URL="http://download.gluster.org/pub/gluster/glusterfs/${VERSION%.*}/$VERSION/$TARBALL"
    1.15 +WGET_URL="http://bits.gluster.com/pub/gluster/glusterfs/src/$TARBALL"
    1.16  
    1.17  DEPENDS="python readline mpc-library elfutils openssl"
    1.18  BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev"
    1.19 @@ -23,17 +23,21 @@
    1.20  		--localstatedir=/var \
    1.21  		$CONFIGURE_ARGS &&
    1.22  	make &&
    1.23 -	make DESTDIR=$DESTDIR install
    1.24 +	make  install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr/share
    1.31 -	cp -a $_pkg/etc $fs
    1.32 -	cp -a $_pkg/var $fs
    1.33 -	cp -a $_pkg/sbin $fs
    1.34 -	cp -a $_pkg/usr/sbin $fs/usr
    1.35 -	cp -a $_pkg/usr/lib $fs/usr
    1.36 -	cp -a $_pkg/usr/share/glusterfs $fs/usr/share
    1.37 +	cp -a $install/etc $fs
    1.38 +	cp -a $install/var $fs
    1.39 +	cp -a $install/sbin $fs
    1.40 +	cp -a $install/usr/sbin $fs/usr
    1.41 +	cp -a $install/usr/lib $fs/usr
    1.42 +	cp -a $install/usr/share/glusterfs $fs/usr/share
    1.43 +	
    1.44 +	# Clean-up
    1.45 +	find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
    1.46  }
    1.47 +