wok-next annotate e2fsprogs/receipt @ rev 2287
*-pam: remove duplicate stuff/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 21 21:46:09 2009 +0000 (2009-02-21) |
parents | 739a2a9402c1 |
children | eb5dee8d103f |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="e2fsprogs" |
pankso@269 | 4 VERSION="1.39" |
pankso@271 | 5 CATEGORY="base-system" |
pankso@269 | 6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)." |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@5 | 9 WEB_SITE="http://e2fsprogs.sourceforge.net/" |
pankso@5 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1163 | 11 DEPENDS="libcomerr" |
pankso@5 | 12 |
pankso@5 | 13 # Rules to configure and make the package. |
pankso@5 | 14 compile_rules() |
pankso@5 | 15 { |
pankso@5 | 16 cd $src |
pankso@12 | 17 ./configure \ |
pankso@12 | 18 --prefix=/usr \ |
pankso@12 | 19 --with-root-prefix="" \ |
pankso@12 | 20 --enable-elf-shlibs \ |
pankso@12 | 21 --disable-evms \ |
pankso@12 | 22 --sysconfdir=/etc \ |
pankso@12 | 23 --infodir=/usr/share/info \ |
pankso@12 | 24 --mandir=/usr/share/man \ |
pankso@12 | 25 $CONFIGURE_ARGS |
pankso@5 | 26 make |
pankso@5 | 27 make DESTDIR=$PWD/_pkg install |
pankso@12 | 28 make DESTDIR=$PWD/_pkg install-libs |
pascal@1163 | 29 cp ../stuff/*.files-list . |
pankso@5 | 30 } |
pankso@5 | 31 |
pankso@5 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 33 genpkg_rules() |
pankso@5 | 34 { |
pankso@269 | 35 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@5 | 36 cp -a $_pkg/sbin $fs |
pankso@5 | 37 cp -a $_pkg/lib $fs |
pankso@269 | 38 cp -a $_pkg/etc $fs |
pankso@5 | 39 cp -a $_pkg/usr/bin $fs/usr |
pankso@5 | 40 cp -a $_pkg/usr/sbin $fs/usr |
pankso@5 | 41 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib |
pascal@1163 | 42 cat $src/*.files-list | while read file; do |
pascal@1632 | 43 rm -f $fs$file |
pascal@1163 | 44 done |
pankso@12 | 45 |
pankso@12 | 46 # Remove fsck provided by Busybox. |
pankso@5 | 47 rm -rf $fs/sbin/fsck* |
pankso@269 | 48 |
pankso@269 | 49 # Locale fr. |
pankso@269 | 50 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@269 | 51 |
pascal@1163 | 52 # Package all mysql pkgs |
pascal@1163 | 53 for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr*) |
pascal@1163 | 54 do |
pascal@1163 | 55 tazwok genpkg $i |
pascal@1163 | 56 done |
pankso@5 | 57 } |