Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/perl: fixes and cleanups in apkbuild

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Mon, 23 Jan 2017 15:46:16 +0100

On Thu, 19 Jan 2017 17:37:06 +0200
Valery Kartel <valery.kartel_at_gmail.com> wrote:

> - remove one-time used variables
> - move *.pod files to -doc subpackage
> - move development scripts and modules to -dev subpackage
> - move all other scripts to -utils subpackage
> ---

...
  
> dev() {
> - mkdir -p "$subpkgdir"/$_privlib
> - mv "$pkgdir"/$_privlib/Encode "$subpkgdir"/$_privlib/ || return 1
> + mkdir -p "$subpkgdir"/usr/bin \
> + "$subpkgdir"/$_archlib \
> + "$subpkgdir"/$_privlib
> + mv "$pkgdir"/$_archlib/Devel "$subpkgdir"/$_archlib/ || return 1
> + mv "$pkgdir"/$_privlib/ExtUtils \
> + "$pkgdir"/$_privlib/Encode \
> + "$pkgdir"/$_privlib/CPAN* \
> + "$subpkgdir"/$_privlib/ || return 1

as i read this, if you need ExtUtils, Encode or CPAN, you should
install perl-dev?

Are they all pure development libs?

Are there any other distro that ship ExtUtils, Encode and CPAN as a part
of the development package?

-nc



> + local file
> + for file in c2ph corelist cpan enc2xs instmodsh h2ph h2xs libnetcfg perlbug \
> + perldoc perlivp perlthanks pl2pm pod2html pod2man pod2text pod2usage \
> + podchecker podselect prove pstruct xsubpp $pkgname$pkgver
> + do
> + mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ || return 1
> + done
> default_dev
> - replaces="perl"
> +}
> +
> +utils() {
> + pkgdesc="$pkgdesc (misc utilities)"
> + depends="$pkgname"
> mkdir -p "$subpkgdir"/usr/bin
> - for i in enc2xs h2xs libnetcfg perlivp; do
> - mv "$pkgdir"/usr/bin/$i "$subpkgdir"/usr/bin/ || return 1
> + local file
> + for file in encguess json_pp piconv ptar ptardiff ptargrep shasum \
> + splain zipdetails
> + do
> + mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ || return 1
> done
> }
>



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jan 23 2017 - 15:46:16 GMT