SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "e2fsprogs"

# SliTaz package receipt.

PACKAGE="e2fsprogs"
VERSION="1.44.2"
CATEGORY="base-system"
SHORT_DESC="Filesystem utilities for use with ext2/ext3/ext4 (without fsck*)."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://e2fsprogs.sourceforge.net/"
WGET_URL="https://www.kernel.org/pub/linux/kernel/people/tytso/$PACKAGE/v$VERSION/$TARBALL"

DEPENDS="libcomerr util-linux-ng-blkid util-linux-ng-uuid"
BUILD_DEPENDS="texinfo util-linux-ng-blkid-dev util-linux-ng-uuid-dev wget"

# Rules to configure and make the package.
compile_rules()
{
    mkdir ../build && cd ../build
    $src/configure \
        --prefix=/usr \
        --with-root-prefix="" \
        --enable-elf-shlibs \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS
    make && make install &&
    make install-libs
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/sbin $fs
    cp -a $install/lib $fs
    cp -a $install/etc $fs
    # legacy grub & syslinux don't support 64bit feature
    sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/sbin $fs/usr
    ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
    cat $stuff/*.files-list | while read file; do
        rm -f ${fs}$file
    done
    # Remove fsck provided by Busybox.
    rm $fs/sbin/fsck*
}

# Overlap busybox
pre_install()
{
    rm -f $1/sbin/findfs
    rm -f $1/sbin/tune2fs
}

post_remove()
{
    ln -s /bin/busybox $1/sbin/findfs
    ln -s /bin/busybox $1/sbin/tune2fs
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)