wok annotate file/receipt @ rev 12809
Up: midori (0.4.6) security fix (must be up in stable but need last vala, someone to cook on stable before commit ?)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 15:20:09 2012 +0200 (2012-05-19) |
parents | 092e65acbaf2 |
children | bd0fe51a2736 |
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@4734 | 8 DEPENDS="zlib libmagic" |
slaxemulator@10130 | 9 BUILD_DEPENDS="zlib-dev" |
erjo@170 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11289 | 11 WEB_SITE="http://www.darwinsys.com/file/" |
slaxemulator@11289 | 12 WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL" |
pankso@10365 | 13 CROSS="bug" |
erjo@170 | 14 |
erjo@170 | 15 # Rules to configure and make the package. |
erjo@170 | 16 compile_rules() |
erjo@170 | 17 { |
erjo@170 | 18 cd $src |
pankso@10365 | 19 ./configure \ |
pankso@10365 | 20 --datarootdir=/usr/share \ |
pankso@10365 | 21 --build=$HOST_SYSTEM \ |
pankso@10365 | 22 --host=$HOST_SYSTEM && |
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 { |
erjo@170 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
erjo@170 | 30 |
erjo@170 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@1396 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@2930 | 33 cp -a $_pkg/usr/share/misc $fs/usr/share |
erjo@170 | 34 } |