SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "reiserfsprogs"

# SliTaz package receipt.

PACKAGE="reiserfsprogs"
VERSION="3.6.27"
CATEGORY="system-tools"
SHORT_DESC="ReiserFS tools"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://fossies.org/linux/misc/"
WGET_URL="http://cdn.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$VERSION/$TARBALL"
TAGS="filesystem reiserfs"

DEPENDS="linux-reiserfs util-linux-uuid libcomerr"
BUILD_DEPENDS="libcomerr-dev"

# What is the latest version available today?
current_version()
{
    wget -O - http://cdn.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \
    sed '/href="v[0-9]/!d;s|.*"v||;s|/.*||;/x/d' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|<com_err.h>|<et/com_err.h>|' */*.?
    ./configure --prefix=/usr --sbindir=/sbin \
    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

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