wok-current annotate e2fsprogs/receipt @ rev 10304

e2fsprogs: fic path to files list
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 02:19:11 2011 +0200 (2011-05-22)
parents 98d98cee3cd5
children 73641efed1cc
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="e2fsprogs"
slaxemulator@7783 4 VERSION="1.41.14"
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@4051 11 DEPENDS="libcomerr util-linux-ng-blkid util-linux-ng-uuid"
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 \
slaxemulator@10301 21 --sysconfdir=/etc \
slaxemulator@10301 22 $CONFIGURE_ARGS
pankso@10304 23 make && make install &&
slaxemulator@9684 24 make install-libs
pankso@5 25 }
pankso@5 26
pankso@5 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 28 genpkg_rules()
pankso@5 29 {
pankso@269 30 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@5 31 cp -a $_pkg/sbin $fs
pankso@5 32 cp -a $_pkg/lib $fs
pankso@269 33 cp -a $_pkg/etc $fs
pankso@5 34 cp -a $_pkg/usr/bin $fs/usr
pankso@5 35 cp -a $_pkg/usr/sbin $fs/usr
erjo@10138 36 cp -a $_pkg/usr/lib/*.so $fs/usr/lib
pankso@10304 37 cat $stuff/*.files-list | while read file; do
pascal@1632 38 rm -f $fs$file
pascal@1163 39 done
pankso@3105 40 # Remove fsck provided by Busybox and blkid by util-linux-ng.
pankso@3105 41 rm $fs/sbin/fsck* $fs/sbin/blkid
pankso@3105 42 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
pankso@4051 43 # Remove uuid files provided by util-linux-ng.
pankso@4051 44 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
pankso@4051 45 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
pankso@5 46 }
pascal@8876 47
pascal@8876 48 # Overlap busybox
pascal@8876 49 pre_install()
pascal@8876 50 {
pascal@8876 51 rm -f $1/sbin/findfs
pascal@8876 52 rm -f $1/sbin/tune2fs
pascal@8876 53 }
pascal@8876 54
pascal@8876 55 post_remove()
pascal@8876 56 {
slaxemulator@9684 57 ln -s /bin/busybox $1/sbin/findfs
slaxemulator@9684 58 ln -s /bin/busybox $1/sbin/tune2fs
pascal@8876 59 }