SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-file-basedir"

# SliTaz package receipt.

PACKAGE="perl-file-basedir"
VERSION="0.09"
CATEGORY="development"
SHORT_DESC="File::BaseDir module is a Perl extension."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://metacpan.org/pod/File::BaseDir"
REPOLOGY="perl:file-basedir"
SOURCE="File-BaseDir"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL"

DEPENDS="perl"
BUILD_DEPENDS="perl perl-file-which perl-ipc-system-simple"

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
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)