wok view file/receipt @ rev 10985

Up: glib to 2.30.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 12 14:06:30 2011 +0000 (2011-10-12)
parents dbc7b6ad8b7b
children 092e65acbaf2
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.07"
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="ftp://ftp.gw.com/mirrors/unix/file"
12 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL ftp://ftp.gw.com/mirrors/unix/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 }