wok view file/receipt @ rev 12551

Up: lftp (4.3.6)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 27 15:46:00 2012 +0200 (2012-04-27)
parents 092e65acbaf2
children bd0fe51a2736
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 DEPENDS="zlib libmagic"
9 BUILD_DEPENDS="zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.darwinsys.com/file/"
12 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
13 CROSS="bug"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --datarootdir=/usr/share \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/misc $fs/usr/share
34 }