wok view file/receipt @ rev 15761

Up tazpkg (5.1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 17:57:45 2014 +0100 (2014-01-05)
parents 1af999926109
children 9b32b6182692
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.darwinsys.com/file/"
11 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="zlib libmagic"
15 BUILD_DEPENDS="zlib-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --datarootdir=/usr/share \
23 $CONFIGURE_ARGS &&
24 make && make install &&
25 cd python &&
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 # --> libmagic
36 #cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/misc $fs/usr/share
38 }