mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
26 lines
782 B
Bash
26 lines
782 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
pkgname=perl-net-dns-resolver-programmable
|
|
_realname=Net-DNS-Resolver-Programmable
|
|
pkgver=0.003
|
|
pkgrel=6
|
|
pkgdesc="A Net::DNS::Resolver descendant class for offline emulation of DNS"
|
|
arch=('any')
|
|
license=('GPL' 'PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl-net-dns' 'perl>=5.10.0')
|
|
options=('!emptydirs')
|
|
source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/${_realname}-v${pkgver}.tar.gz)
|
|
md5sums=('8d44bf331d6115e7fb4ea21f6cf4b96b')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-v${pkgver}
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_realname}-v${pkgver}
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
}
|