wok annotate file/receipt @ rev 14259

Add extundelete
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 29 09:07:22 2013 +0100 (2013-03-29)
parents bd0fe51a2736
children 1af999926109
rev   line source
erjo@170 1 # SliTaz package receipt.
erjo@170 2
erjo@170 3 PACKAGE="file"
pankso@14250 4 VERSION="5.14"
pankso@211 5 CATEGORY="system-tools"
erjo@170 6 SHORT_DESC="Retrieve file type."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@170 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11289 9 WEB_SITE="http://www.darwinsys.com/file/"
slaxemulator@11289 10 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
pankso@12982 11 HOST_ARCH="i486 arm"
pankso@12982 12
pankso@12982 13 DEPENDS="zlib libmagic"
pankso@12982 14 BUILD_DEPENDS="zlib-dev"
erjo@170 15
erjo@170 16 # Rules to configure and make the package.
erjo@170 17 compile_rules()
erjo@170 18 {
erjo@170 19 cd $src
pankso@10365 20 ./configure \
pankso@10365 21 --datarootdir=/usr/share \
pankso@12982 22 $CONFIGURE_ARGS &&
slaxemulator@10130 23 make && make install
erjo@170 24 }
erjo@170 25
erjo@170 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@170 27 genpkg_rules()
erjo@170 28 {
pankso@12982 29 mkdir -p $fs/usr/share
pankso@12982 30 cp -a $install/usr/bin $fs/usr
pankso@12982 31 # --> libmagic
pankso@12982 32 #cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12982 33 cp -a $install/usr/share/misc $fs/usr/share
erjo@170 34 }