wok rev 22758

updated file (5.36 -> 5.38)
author Hans-G?nter Theisgen
date Fri Jan 24 16:43:53 2020 +0100 (2020-01-24)
parents 919d2a3148b6
children 851602a469c1
files file/receipt
line diff
     1.1 --- a/file/receipt	Fri Jan 24 16:35:42 2020 +0100
     1.2 +++ b/file/receipt	Fri Jan 24 16:43:53 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="file"
     1.7 -VERSION="5.36"
     1.8 +VERSION="5.38"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Determines file type using 'magic' numbers."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -11,8 +11,9 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
    1.15  
    1.16 -DEPENDS="zlib libmagic"
    1.17 -BUILD_DEPENDS="zlib-dev python python-setuptools"
    1.18 +DEPENDS="libmagic zlib"
    1.19 +BUILD_DEPENDS="python python-setuptools zlib-dev"
    1.20 +
    1.21  HOST_ARCH="i486 arm"
    1.22  
    1.23  # @maintainer: Please, update also: libmagic, libmagic-dev, python-magic.
    1.24 @@ -25,9 +26,11 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	sed -i 's/, has_debug_info = 1/, has_debug_info = 0/' src/readelf.c
    1.29 -	./configure \
    1.30 -		--datarootdir=/usr/share \
    1.31 +	sed -i 's/, has_debug_info = 1/, has_debug_info = 0/' \
    1.32 +		src/readelf.c
    1.33 +
    1.34 +	./configure				\
    1.35 +		--datarootdir=/usr/share	\
    1.36  		$CONFIGURE_ARGS &&
    1.37  	make -j 1 &&
    1.38  	make install &&
    1.39 @@ -40,8 +43,9 @@
    1.40  genpkg_rules()
    1.41  {
    1.42  	mkdir -p $fs/usr/share
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/share/misc $fs/usr/share
    1.45 +
    1.46 +	cp -a $install/usr/bin		$fs/usr
    1.47 +	cp -a $install/usr/share/misc	$fs/usr/share
    1.48  }
    1.49  
    1.50  # Be sure it as cross compile.