SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "perl-net-dns"

# SliTaz package receipt.

PACKAGE="perl-net-dns"
VERSION="1.33"
CATEGORY="development"
SHORT_DESC="Perl extension Net::DNS."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://metacpan.org/pod/Net::DNS"
REPOLOGY="perl:net-dns"

SOURCE="Net-DNS"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"

DEPENDS="perl perl-io-socket-inet6"
BUILD_DEPENDS="perl perl-io-socket-inet6"

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()
{
    yes n | perl Makefile.PL &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6025 packages and 203653 files in current database (Fri May 31 00:00:08 2024)