wok-current annotate e2fsprogs/receipt @ rev 881
linux: minimize lzma memory footprint
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 06 23:15:25 2008 +0000 (2008-06-06) |
parents | c3d8970e5eea |
children | 739a2a9402c1 |
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" |
pankso@5 | 11 |
pankso@5 | 12 # Rules to configure and make the package. |
pankso@5 | 13 compile_rules() |
pankso@5 | 14 { |
pankso@5 | 15 cd $src |
pankso@12 | 16 ./configure \ |
pankso@12 | 17 --prefix=/usr \ |
pankso@12 | 18 --with-root-prefix="" \ |
pankso@12 | 19 --enable-elf-shlibs \ |
pankso@12 | 20 --disable-evms \ |
pankso@12 | 21 --sysconfdir=/etc \ |
pankso@12 | 22 --infodir=/usr/share/info \ |
pankso@12 | 23 --mandir=/usr/share/man \ |
pankso@12 | 24 $CONFIGURE_ARGS |
pankso@5 | 25 make |
pankso@5 | 26 make DESTDIR=$PWD/_pkg install |
pankso@12 | 27 make DESTDIR=$PWD/_pkg install-libs |
pankso@5 | 28 } |
pankso@5 | 29 |
pankso@5 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 31 genpkg_rules() |
pankso@5 | 32 { |
pankso@269 | 33 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@5 | 34 cp -a $_pkg/sbin $fs |
pankso@5 | 35 cp -a $_pkg/lib $fs |
pankso@269 | 36 cp -a $_pkg/etc $fs |
pankso@5 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@5 | 38 cp -a $_pkg/usr/sbin $fs/usr |
pankso@5 | 39 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib |
pankso@12 | 40 |
pankso@12 | 41 # Remove fsck provided by Busybox. |
pankso@5 | 42 rm -rf $fs/sbin/fsck* |
pankso@269 | 43 |
pankso@269 | 44 # Locale fr. |
pankso@269 | 45 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@269 | 46 |
pankso@269 | 47 # Strip all stuff. |
pankso@269 | 48 strip -s $fs/sbin/* |
pankso@269 | 49 strip -s $fs/lib/* |
pankso@269 | 50 strip -s $fs/usr/bin/* |
pankso@269 | 51 strip -s $fs/usr/sbin/* |
pankso@269 | 52 strip -s $fs/usr/lib/* |
pankso@5 | 53 } |