wok-current annotate e2fsprogs/receipt @ rev 7288

Up: filezilla to 3.3.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 16 16:59:05 2010 +0000 (2010-11-16)
parents 41df03920955
children 53e1828da719
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="e2fsprogs"
pankso@5622 4 VERSION="1.41.12"
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 \
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*
pankso@4051 47 # Remove uuid files provided by util-linux-ng.
pankso@4051 48 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
pankso@4051 49 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
pascal@1163 50 # Package all mysql pkgs
pankso@4051 51 for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr*)
pascal@1163 52 do
pascal@1163 53 tazwok genpkg $i
pascal@1163 54 done
pankso@5 55 }