SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "e2tools"

# SliTaz package receipt.

PACKAGE="e2tools"
VERSION="0.0.16.4"
CATEGORY="base-system"
SHORT_DESC="Read, write, and manipulate files in an ext2 or ext3 filesystem."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/ndim/$PACKAGE"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

DEPENDS="e2fsprogs"
BUILD_DEPENDS="autoconf automake e2fsprogs-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    autoreconf -vis . &&
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)