wok annotate file/receipt @ rev 10130

Up: file to 5.07.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 17:20:44 2011 +0000 (2011-05-20)
parents 97b93f51e35b
children 8035dc12d8e3
rev   line source
erjo@170 1 # SliTaz package receipt.
erjo@170 2
erjo@170 3 PACKAGE="file"
slaxemulator@10130 4 VERSION="5.07"
pankso@211 5 CATEGORY="system-tools"
erjo@170 6 SHORT_DESC="Retrieve file type."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@4734 8 DEPENDS="zlib libmagic"
slaxemulator@10130 9 BUILD_DEPENDS="zlib-dev"
erjo@170 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1346 11 WEB_SITE="ftp://ftp.gw.com/mirrors/unix/file"
pascal@6408 12 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL ftp://ftp.gw.com/mirrors/unix/file/$TARBALL"
erjo@170 13
erjo@170 14 # Rules to configure and make the package.
erjo@170 15 compile_rules()
erjo@170 16 {
erjo@170 17 cd $src
slaxemulator@10130 18 ./configure --datarootdir=/usr/share $CONFIGURE_ARGS &&
slaxemulator@10130 19 make && make install
erjo@170 20 }
erjo@170 21
erjo@170 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@170 23 genpkg_rules()
erjo@170 24 {
erjo@170 25 mkdir -p $fs/usr/lib $fs/usr/share
erjo@170 26
erjo@170 27 cp -a $_pkg/usr/bin $fs/usr
erjo@1396 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@2930 29 cp -a $_pkg/usr/share/misc $fs/usr/share
erjo@170 30 }