wok-next diff file/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents 9b32b6182692
children f0e8eec33d8b
line diff
     1.1 --- a/file/receipt	Sun Feb 23 15:49:23 2014 +0100
     1.2 +++ b/file/receipt	Tue Oct 14 11:50:51 2014 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="file"
     1.7 -VERSION="5.14"
     1.8 +VERSION="5.20"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Retrieve file type."
    1.11 +SHORT_DESC="Determines file type using 'magic' numbers"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="BSD"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 @@ -14,6 +14,8 @@
    1.16  DEPENDS="zlib libmagic"
    1.17  BUILD_DEPENDS="zlib-dev python"
    1.18  
    1.19 +# Please, update too: libmagic, libmagic-dev, python-magic.
    1.20 +
    1.21  # Handle cross compilation. python is installed in a ARM cook env.
    1.22  case "$ARCH" in
    1.23  	arm) BUILD_DEPENDS="" ;;
    1.24 @@ -22,7 +24,6 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29  	./configure \
    1.30  		--datarootdir=/usr/share \
    1.31  		$CONFIGURE_ARGS &&
    1.32 @@ -37,8 +38,6 @@
    1.33  {
    1.34  	mkdir -p $fs/usr/share
    1.35  	cp -a $install/usr/bin $fs/usr
    1.36 -	# --> libmagic
    1.37 -	#cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38  	cp -a $install/usr/share/misc $fs/usr/share
    1.39  }
    1.40