wok-stable annotate e2fsprogs/receipt @ rev 5

Add : bc, cpio, e2fsprogs, module-init-tools, udev
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 13 15:09:20 2007 +0100 (2007-12-13)
parents
children 6d220dd6655c
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="e2fsprogs"
pankso@5 4 VERSION="1.39"
pankso@5 5 CATEGORY="base-apps"
pankso@5 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@5 16 ./configure --prefix=/usr --with-root-prefix="" \
pankso@5 17 --enable-elf-shlibs --disable-evms --sysconfdir=/etc \
pankso@5 18 --infodir=/usr/share/info --mandir=/usr/share/man \
pankso@5 19 $CONFIGURE_ARGS
pankso@5 20 make
pankso@5 21 make DESTDIR=$PWD/_pkg install
pankso@5 22 }
pankso@5 23
pankso@5 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 25 genpkg_rules()
pankso@5 26 {
pankso@5 27 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@5 28 cp -a $_pkg/sbin $fs
pankso@5 29 cp -a $_pkg/lib $fs
pankso@5 30 cp -a $_pkg/etc $fs
pankso@5 31 cp -a $_pkg/usr/bin $fs/usr
pankso@5 32 cp -a $_pkg/usr/sbin $fs/usr
pankso@5 33 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
pankso@5 34 # Remove unused libss and fsck provided by Busybox.
pankso@5 35 rm -rf $fs/lib/libss*
pankso@5 36 rm -rf $fs/usr/lib/libss*
pankso@5 37 rm -rf $fs/sbin/fsck*
pankso@5 38 # Locale fr.
pankso@5 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@5 40 # Strip all stuff.
pankso@5 41 strip -s $fs/sbin/*
pankso@5 42 strip -s $fs/lib/*
pankso@5 43 strip -s $fs/usr/bin/*
pankso@5 44 strip -s $fs/usr/sbin/*
pankso@5 45 strip -s $fs/usr/lib/*
pankso@5 46 }