wok-6.x diff glusterfs/receipt @ rev 14472

zlib: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 02 17:44:25 2013 +0200 (2013-05-02)
parents 330c7af1431f
children 7bb096863642
line diff
     1.1 --- a/glusterfs/receipt	Tue Aug 14 13:38:58 2012 +0200
     1.2 +++ b/glusterfs/receipt	Thu May 02 17:44:25 2013 +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 +