wok view file/receipt @ rev 715

Up: slitaz-configs (2.0) - Include now Openbox default files and slim theme
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 20:41:41 2008 +0200 (2008-05-02)
parents cf22fee17710
children a075ff895254
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="4.21"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.linuxfromscratch.org/lfs/"
11 WGET_URL="ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.3/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/share/file $fs/usr/share
32 strip -s $fs/usr/bin/*
33 strip -s $fs/usr/lib/*
34 }