wok-4.x view file/receipt @ rev 1942

tazndis, don't modify system files in debug mode.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 27 22:17:15 2008 +0100 (2008-12-27)
parents 7d5f8e413345
children 3ccab33c6d95
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="4.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.gw.com/mirrors/unix/file"
11 WGET_URL="ftp://ftp.gw.com/mirrors/unix/file/$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 }