SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-test-deep"

# SliTaz package receipt.

PACKAGE="perl-test-deep"
VERSION="1.130"
CATEGORY="development"
SHORT_DESC="Perl - Extremely flexible deep comparison."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL"
WEB_SITE="https://metacpan.org/dist/Test-Deep"

SOURCE="Test-Deep"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://cpan.metacpan.org/modules/by-module/Test/$TARBALL"

DEPENDS="perl perl-test-nowarnings"
BUILD_DEPENDS="$DEPENDS"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    perl Makefile.PL &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)