wok-stable view file/receipt @ rev 9088
slitaz-doc: typo in genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 18:21:03 2011 +0100 (2011-03-04) |
parents | 706efda2ac07 |
children | dbc7b6ad8b7b |
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.05"
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 }