wok-stable view file/receipt @ rev 7745
Up: zsh to 4.3.11.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 20 17:45:11 2010 +0000 (2010-12-20) |
parents | cba097232ece |
children | 97b93f51e35b |
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.04"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="zlib libmagic"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.gw.com/mirrors/unix/file"
11 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL 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 \
18 --infodir=/usr/share/info \
19 --datarootdir=/usr/share \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/share/misc $fs/usr/share
33 }