wok annotate file/receipt @ rev 15379

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 20 22:08:25 2013 +0000 (2013-10-20)
parents 1af999926109
children 9b32b6182692
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"
pascal@15379 8 LICENSE="BSD"
erjo@170 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11289 10 WEB_SITE="http://www.darwinsys.com/file/"
slaxemulator@11289 11 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
pankso@12982 12 HOST_ARCH="i486 arm"
pankso@12982 13
pankso@12982 14 DEPENDS="zlib libmagic"
pascal@14901 15 BUILD_DEPENDS="zlib-dev python"
erjo@170 16
erjo@170 17 # Rules to configure and make the package.
erjo@170 18 compile_rules()
erjo@170 19 {
erjo@170 20 cd $src
pankso@10365 21 ./configure \
pankso@10365 22 --datarootdir=/usr/share \
pankso@12982 23 $CONFIGURE_ARGS &&
pascal@14901 24 make && make install &&
pascal@14901 25 cd python &&
pascal@14901 26 python setup.py build &&
pascal@14901 27 python setup.py install --root=$DESTDIR
erjo@170 28 }
erjo@170 29
erjo@170 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@170 31 genpkg_rules()
erjo@170 32 {
pankso@12982 33 mkdir -p $fs/usr/share
pankso@12982 34 cp -a $install/usr/bin $fs/usr
pankso@12982 35 # --> libmagic
pankso@12982 36 #cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12982 37 cp -a $install/usr/share/misc $fs/usr/share
erjo@170 38 }