wok-current rev 12982
file: dont include libmagic and port to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 02 13:51:44 2012 +0200 (2012-06-02) |
parents | 7ae8c5d88295 |
children | a783510d92d5 |
files | file/receipt libmagic-dev/receipt libmagic/receipt |
line diff
1.1 --- a/file/receipt Sat Jun 02 13:45:01 2012 +0200 1.2 +++ b/file/receipt Sat Jun 02 13:51:44 2012 +0200 1.3 @@ -5,12 +5,13 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Retrieve file type." 1.6 MAINTAINER="erjo@slitaz.org" 1.7 -DEPENDS="zlib libmagic" 1.8 -BUILD_DEPENDS="zlib-dev" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.darwinsys.com/file/" 1.11 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL" 1.12 -CROSS="bug" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 +DEPENDS="zlib libmagic" 1.16 +BUILD_DEPENDS="zlib-dev" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -18,17 +19,16 @@ 1.21 cd $src 1.22 ./configure \ 1.23 --datarootdir=/usr/share \ 1.24 - --build=$HOST_SYSTEM \ 1.25 - --host=$HOST_SYSTEM && 1.26 + $CONFIGURE_ARGS && 1.27 make && make install 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/usr/lib $fs/usr/share 1.34 - 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.37 - cp -a $_pkg/usr/share/misc $fs/usr/share 1.38 + mkdir -p $fs/usr/share 1.39 + cp -a $install/usr/bin $fs/usr 1.40 + # --> libmagic 1.41 + #cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 + cp -a $install/usr/share/misc $fs/usr/share 1.43 }
2.1 --- a/libmagic-dev/receipt Sat Jun 02 13:45:01 2012 +0200 2.2 +++ b/libmagic-dev/receipt Sat Jun 02 13:51:44 2012 +0200 2.3 @@ -8,12 +8,13 @@ 2.4 DEPENDS="libmagic" 2.5 WEB_SITE="http://www.darwinsys.com/file/" 2.6 WANTED="file" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 # Rules to gen a SliTaz package suitable for Tazpkg. 2.10 genpkg_rules() 2.11 { 2.12 mkdir -p $fs/usr/lib 2.13 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 2.14 - cp -a $_pkg/usr/include $fs/usr/ 2.15 + cp -a $install/usr/lib/*.*a $fs/usr/lib 2.16 + cp -a $install/usr/include $fs/usr/ 2.17 } 2.18
3.1 --- a/libmagic/receipt Sat Jun 02 13:45:01 2012 +0200 3.2 +++ b/libmagic/receipt Sat Jun 02 13:51:44 2012 +0200 3.3 @@ -5,14 +5,16 @@ 3.4 CATEGORY="system-tools" 3.5 SHORT_DESC="Library for File utility" 3.6 MAINTAINER="erjo@slitaz.org" 3.7 -DEPENDS="zlib" 3.8 WEB_SITE="http://www.darwinsys.com/file/" 3.9 WANTED="file" 3.10 +HOST_ARCH="i486 arm" 3.11 + 3.12 +DEPENDS="zlib" 3.13 3.14 # Rules to gen a SliTaz package suitable for Tazpkg. 3.15 genpkg_rules() 3.16 { 3.17 mkdir -p $fs/usr/lib 3.18 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.19 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.20 } 3.21