wok-next 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 | cc6bbcf323fa |
children | c4bd69945e93 |
files | file/description.txt file/receipt libmagic-dev/description.txt libmagic-dev/receipt libmagic/description.txt libmagic/receipt python-magic/description.txt python-magic/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/file/description.txt Tue Oct 14 11:50:51 2014 +0300 1.3 @@ -0,0 +1,3 @@ 1.4 +File tests each argument in an attempt to classify it. There are three sets 1.5 +of tests, performed in this order: filesystem tests, magic number tests, and 1.6 +language tests. The first test that succeeds causes the file type to be printed.
2.1 --- a/file/receipt Sat Oct 11 14:25:56 2014 +0200 2.2 +++ b/file/receipt Tue Oct 14 11:50:51 2014 +0300 2.3 @@ -1,9 +1,9 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="file" 2.7 -VERSION="5.14" 2.8 +VERSION="5.20" 2.9 CATEGORY="system-tools" 2.10 -SHORT_DESC="Retrieve file type." 2.11 +SHORT_DESC="Determines file type using 'magic' numbers" 2.12 MAINTAINER="erjo@slitaz.org" 2.13 LICENSE="BSD" 2.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 @@ -14,6 +14,8 @@ 2.16 DEPENDS="zlib libmagic" 2.17 BUILD_DEPENDS="zlib-dev python" 2.18 2.19 +# Please, update too: libmagic, libmagic-dev, python-magic. 2.20 + 2.21 # Handle cross compilation. python is installed in a ARM cook env. 2.22 case "$ARCH" in 2.23 arm) BUILD_DEPENDS="" ;; 2.24 @@ -22,7 +24,6 @@ 2.25 # Rules to configure and make the package. 2.26 compile_rules() 2.27 { 2.28 - cd $src 2.29 ./configure \ 2.30 --datarootdir=/usr/share \ 2.31 $CONFIGURE_ARGS && 2.32 @@ -37,8 +38,6 @@ 2.33 { 2.34 mkdir -p $fs/usr/share 2.35 cp -a $install/usr/bin $fs/usr 2.36 - # --> libmagic 2.37 - #cp -a $install/usr/lib/*.so* $fs/usr/lib 2.38 cp -a $install/usr/share/misc $fs/usr/share 2.39 } 2.40
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libmagic-dev/description.txt Tue Oct 14 11:50:51 2014 +0300 3.3 @@ -0,0 +1,4 @@ 3.4 +This library can be used to classify files according to magic number tests. 3.5 +It implements the core functionality of the file command. 3.6 + 3.7 +This package contains the development files.
4.1 --- a/libmagic-dev/receipt Sat Oct 11 14:25:56 2014 +0200 4.2 +++ b/libmagic-dev/receipt Tue Oct 14 11:50:51 2014 +0300 4.3 @@ -1,9 +1,9 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="libmagic-dev" 4.7 -VERSION="5.14" 4.8 +VERSION="5.20" 4.9 CATEGORY="development" 4.10 -SHORT_DESC="Library for File utility dev files" 4.11 +SHORT_DESC="File type determination library using 'magic' numbers (development)" 4.12 MAINTAINER="erjo@slitaz.org" 4.13 LICENSE="BSD" 4.14 WEB_SITE="http://www.darwinsys.com/file/" 4.15 @@ -16,7 +16,7 @@ 4.16 genpkg_rules() 4.17 { 4.18 mkdir -p $fs/usr/lib 4.19 - cp -a $install/usr/lib/*.*a $fs/usr/lib 4.20 - cp -a $install/usr/include $fs/usr/ 4.21 + cp -a $install/usr/lib/*.la $fs/usr/lib 4.22 + cp -a $install/usr/include $fs/usr 4.23 } 4.24
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/libmagic/description.txt Tue Oct 14 11:50:51 2014 +0300 5.3 @@ -0,0 +1,2 @@ 5.4 +This library can be used to classify files according to magic number tests. 5.5 +It implements the core functionality of the file command.
6.1 --- a/libmagic/receipt Sat Oct 11 14:25:56 2014 +0200 6.2 +++ b/libmagic/receipt Tue Oct 14 11:50:51 2014 +0300 6.3 @@ -1,9 +1,9 @@ 6.4 # SliTaz package receipt. 6.5 6.6 PACKAGE="libmagic" 6.7 -VERSION="5.14" 6.8 +VERSION="5.20" 6.9 CATEGORY="system-tools" 6.10 -SHORT_DESC="Library for File utility" 6.11 +SHORT_DESC="File type determination library using 'magic' numbers" 6.12 MAINTAINER="erjo@slitaz.org" 6.13 LICENSE="BSD" 6.14 WEB_SITE="http://www.darwinsys.com/file/"
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/python-magic/description.txt Tue Oct 14 11:50:51 2014 +0300 7.3 @@ -0,0 +1,4 @@ 7.4 +This library can be used to classify files according to magic number tests. 7.5 +It implements the core functionality of the file command. 7.6 + 7.7 +This package contains the Python bindings.
8.1 --- a/python-magic/receipt Sat Oct 11 14:25:56 2014 +0200 8.2 +++ b/python-magic/receipt Tue Oct 14 11:50:51 2014 +0300 8.3 @@ -1,9 +1,9 @@ 8.4 # SliTaz package receipt. 8.5 8.6 PACKAGE="python-magic" 8.7 -VERSION="5.14" 8.8 +VERSION="5.20" 8.9 CATEGORY="development" 8.10 -SHORT_DESC="Retrieve file type." 8.11 +SHORT_DESC="File type determination library using 'magic' numbers (Python bindings)" 8.12 MAINTAINER="pascal.bellard@slitaz.org" 8.13 LICENSE="BSD" 8.14 WEB_SITE="http://www.darwinsys.com/file/"