SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "partclone"

# SliTaz package receipt.

PACKAGE="partclone"
VERSION="0.2.70"
CATEGORY="system-tools"
SHORT_DESC="Utilities to smartly backup partitions."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://partclone.org/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="backup"

DEPENDS="ncursesw ntfs-3g e2fsprogs"
BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev libxslt e2fsprogs-dev \
 ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/partclone/files/source/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/partclone-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure LDFLAGS="$LDFLAGS -lcom_err" $CONFIGURE_ARGS \
        --enable-extfs \
        --enable-fat \
        --enable-exfat \
        --enable-ntfs \
        --enable-btrfs \
        --enable-hfsp \
        --enable-ncursesw &&
        make && make install 2>&1 | sed "s/8': No such/8': no such/"
}

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