wok annotate file/receipt @ rev 13782
Up tazpkg (5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 17:20:57 2013 +0100 (2013-01-04) |
parents | 6613e506fa5c |
children | b6a09f38aa31 |
rev | line source |
---|---|
erjo@170 | 1 # SliTaz package receipt. |
erjo@170 | 2 |
erjo@170 | 3 PACKAGE="file" |
slaxemulator@12384 | 4 VERSION="5.11" |
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 } |