SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-test-compile"

# SliTaz package receipt.

PACKAGE="perl-test-compile"
VERSION="3.1.0"
CATEGORY="development"
SHORT_DESC="Perl extension Test::Compile."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://metacpan.org/dist/Test-Compile"
REPOLOGY="perl:test-compile"

SOURCE="Test-Compile"
TARBALL="$SOURCE-v$VERSION.tar.gz"
WGET_URL="https://cpan.metacpan.org/authors/id/E/EG/EGILES/$TARBALL"

DEPENDS="perl perl-universal-require"
BUILD_DEPENDS="perl perl-universal-require"

# 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 install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)