1 # Contributor: Eduardo Reveles <me@osiux.ws>
2 # Generated by Xyne::Arch::CPAN 0.07
7 pkgdesc="the base framework for frame crafting"
9 url="http://search.cpan.org/dist/Net-Frame/"
11 source=('http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Frame-1.06.tar.gz')
12 md5sums=('4d05f1a2a01928f860a9110d28322e1e')
13 sha256sums=('95c49bee050e2e0f4af93364e24b9b46665cfa19dc46a661a4cb31d8fbcfd099')
14 depends=('perl-bit-vector' 'perl-class-gomor>=1.0.0' 'perl-net-ipv6addr' 'perl-socket6')
15 makedepends=('perl-extutils-makemaker')
16 provides=('perl-net-frame-layer' 'perl-net-frame-layer-arp' 'perl-net-frame-layer-eth' 'perl-net-frame-layer-ipv4' 'perl-net-frame-layer-null' 'perl-net-frame-layer-ppp' 'perl-net-frame-layer-raw' 'perl-net-frame-layer-sll' 'perl-net-frame-layer-tcp' 'perl-net-frame-layer-udp')
20 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
21 if [ ! -z "$_dir" ]; then
23 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make install DESTDIR="${pkgdir}" || return 1
28 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
29 if [ ! -z "$_dir" ]; then
31 PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
33 ./Build install destdir=${pkgdir} || return 1
36 echo "error: failed to detect build method for $pkgname"
37 echo "you may be able to fix this by editing the PKGBUILD"
41 # remove perllocal.pod and .packlist
42 find ${pkgdir} -name perllocal.pod -delete
43 find ${pkgdir} -name .packlist -delete
46 # vim:set ts=2 sw=2 et: