wok annotate e2fsprogs/receipt @ rev 3105

e2fsprogs: Remove blkid (use most recent one from util-linux-ng)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 17 23:50:50 2009 +0200 (2009-05-17)
parents 52578b0981fb
children c0c30050ba4a
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="e2fsprogs"
pascal@3078 4 VERSION="1.41.5"
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@3105 11 DEPENDS="libcomerr libuuid util-linux-ng-blkid"
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 --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
pascal@1163 28 cp ../stuff/*.files-list .
pankso@5 29 }
pankso@5 30
pankso@5 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 32 genpkg_rules()
pankso@5 33 {
pankso@269 34 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@5 35 cp -a $_pkg/sbin $fs
pankso@5 36 cp -a $_pkg/lib $fs
pankso@269 37 cp -a $_pkg/etc $fs
pankso@5 38 cp -a $_pkg/usr/bin $fs/usr
pankso@5 39 cp -a $_pkg/usr/sbin $fs/usr
pankso@5 40 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
pascal@1163 41 cat $src/*.files-list | while read file; do
pascal@1632 42 rm -f $fs$file
pascal@1163 43 done
pankso@3105 44 # Remove fsck provided by Busybox and blkid by util-linux-ng.
pankso@3105 45 rm $fs/sbin/fsck* $fs/sbin/blkid
pankso@3105 46 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
pascal@1163 47 # Package all mysql pkgs
pascal@2436 48 for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr* libuuid*)
pascal@1163 49 do
pascal@1163 50 tazwok genpkg $i
pascal@1163 51 done
pankso@5 52 }