wok-current view file/receipt @ rev 15260
Up cookutils (3.1.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:49:32 2013 +0000 (2013-09-24) |
parents | b6a09f38aa31 |
children | 2a5cc8208d36 |
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 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 python"
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 cd python &&
25 python setup.py build &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 # --> libmagic
35 #cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/misc $fs/usr/share
37 }