wok view file/receipt @ rev 13161

get-wifi-firmware: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 28 09:58:01 2012 +0200 (2012-07-28)
parents 6613e506fa5c
children b6a09f38aa31
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.darwinsys.com/file/"
10 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="zlib libmagic"
14 BUILD_DEPENDS="zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --datarootdir=/usr/share \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 # --> libmagic
32 #cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/share/misc $fs/usr/share
34 }