SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "safecopy"

# SliTaz package receipt.

PACKAGE="safecopy"
VERSION="1.7"
CATEGORY="system-tools"
SHORT_DESC="A disk data recovery tool to extract data from damaged media"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://safecopy.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)