# HG changeset patch # User Hans-G?nter Theisgen # Date 1579880633 -3600 # Node ID fa097cfdd98ebd58b3a8b4eb20550614f4e8c4d0 # Parent 919d2a3148b68d67791060bb710f217c2b1a77b7 updated file (5.36 -> 5.38) diff -r 919d2a3148b6 -r fa097cfdd98e file/receipt --- a/file/receipt Fri Jan 24 16:35:42 2020 +0100 +++ b/file/receipt Fri Jan 24 16:43:53 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="file" -VERSION="5.36" +VERSION="5.38" CATEGORY="system-tools" SHORT_DESC="Determines file type using 'magic' numbers." MAINTAINER="erjo@slitaz.org" @@ -11,8 +11,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL" -DEPENDS="zlib libmagic" -BUILD_DEPENDS="zlib-dev python python-setuptools" +DEPENDS="libmagic zlib" +BUILD_DEPENDS="python python-setuptools zlib-dev" + HOST_ARCH="i486 arm" # @maintainer: Please, update also: libmagic, libmagic-dev, python-magic. @@ -25,9 +26,11 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's/, has_debug_info = 1/, has_debug_info = 0/' src/readelf.c - ./configure \ - --datarootdir=/usr/share \ + sed -i 's/, has_debug_info = 1/, has_debug_info = 0/' \ + src/readelf.c + + ./configure \ + --datarootdir=/usr/share \ $CONFIGURE_ARGS && make -j 1 && make install && @@ -40,8 +43,9 @@ genpkg_rules() { mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/misc $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/misc $fs/usr/share } # Be sure it as cross compile.