wok annotate file/receipt @ rev 5496
Up: file, libmagic, libmagic-dev (5.04)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 08 01:12:25 2010 +0000 (2010-05-08) |
parents | ae514098a72a |
children | 706efda2ac07 |
rev | line source |
---|---|
erjo@170 | 1 # SliTaz package receipt. |
erjo@170 | 2 |
erjo@170 | 3 PACKAGE="file" |
slaxemulator@5496 | 4 VERSION="5.04" |
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" |
erjo@170 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1346 | 10 WEB_SITE="ftp://ftp.gw.com/mirrors/unix/file" |
erjo@2930 | 11 WGET_URL=" ftp://ftp.astron.com/pub/file/$TARBALL ftp://ftp.gw.com/mirrors/unix/file/$TARBALL" |
erjo@170 | 12 |
erjo@170 | 13 # Rules to configure and make the package. |
erjo@170 | 14 compile_rules() |
erjo@170 | 15 { |
erjo@170 | 16 cd $src |
erjo@2930 | 17 ./configure --prefix=/usr \ |
erjo@2930 | 18 --infodir=/usr/share/info \ |
erjo@2930 | 19 --datarootdir=/usr/share \ |
erjo@2930 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2486 | 21 make && |
erjo@170 | 22 make DESTDIR=$PWD/_pkg install |
erjo@170 | 23 } |
erjo@170 | 24 |
erjo@170 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@170 | 26 genpkg_rules() |
erjo@170 | 27 { |
erjo@170 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
erjo@170 | 29 |
erjo@170 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@1396 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@2930 | 32 cp -a $_pkg/usr/share/misc $fs/usr/share |
erjo@170 | 33 } |