SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg

Receipt for package "perl-file-listing"

# SliTaz package receipt.

PACKAGE="perl-file-listing"
VERSION="6.15"
CATEGORY="development"
SHORT_DESC="File::Listing -  parse directory listing."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://metacpan.org/dist/File-Listing"
REPOLOGY="perl:file-listing"
SOURCE="File-Listing"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$TARBALL"
DEPENDS="perl"
BUILD_DEPENDS="perl"

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
}
6011 packages and 861680 files in cooking database (Sun Jul 27 00:47:25 2025)