wok-6.x annotate file/receipt @ rev 784
Fix: MAINTAINER valu for Erjo's packages.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 13 09:50:02 2008 +0200 (2008-05-13) |
parents | 067898ce34ec |
children | 7d5f8e413345 |
rev | line source |
---|---|
erjo@170 | 1 # SliTaz package receipt. |
erjo@170 | 2 |
erjo@170 | 3 PACKAGE="file" |
erjo@170 | 4 VERSION="4.21" |
pankso@211 | 5 CATEGORY="system-tools" |
erjo@170 | 6 SHORT_DESC="Retrieve file type." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@170 | 8 DEPENDS="" |
erjo@170 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@459 | 10 WEB_SITE="http://www.linuxfromscratch.org/lfs/" |
erjo@459 | 11 WGET_URL="ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.3/$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@170 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@170 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@170 | 19 make |
erjo@170 | 20 make DESTDIR=$PWD/_pkg install |
erjo@170 | 21 } |
erjo@170 | 22 |
erjo@170 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@170 | 24 genpkg_rules() |
erjo@170 | 25 { |
erjo@170 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
erjo@170 | 27 |
erjo@170 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@170 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@170 | 30 cp -a $_pkg/usr/share/file $fs/usr/share |
erjo@170 | 31 |
erjo@170 | 32 strip -s $fs/usr/bin/* |
erjo@170 | 33 strip -s $fs/usr/lib/* |
erjo@170 | 34 } |