wok-current view file/receipt @ rev 3458
Up: libphoto2-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Jun 15 15:16:14 2009 +0000 (2009-06-15) |
parents | 3eacc9c96968 |
children | ae514098a72a |
line source
1 # SliTaz package receipt.
3 PACKAGE="file"
4 VERSION="5.03"
5 CATEGORY="system-tools"
6 SHORT_DESC="Retrieve file type."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="zlib"
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
34 }