wok diff file/receipt @ rev 14194
emacs-pkg-po-mode: tidy receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:05:24 2013 +0100 (2013-03-12) |
parents | 6613e506fa5c |
children | b6a09f38aa31 |
line diff
1.1 --- a/file/receipt Thu Apr 19 22:34:10 2012 +0000 1.2 +++ b/file/receipt Tue Mar 12 23:05:24 2013 +0100 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 }