diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-17 16:41:17 +0000 |
commit | b47c24ae242e490bbbb1c8dbde94bf19cd238596 (patch) | |
tree | 453bb7a5217fe743b32dfffff9fd0638e3943e1a | |
parent | 9f626e3a88e8bfac4169c02b4795041e263a7ef8 (diff) | |
parent | 4aa0671e2a7c5a317ed9884d9c76a1abce9c21a3 (diff) | |
download | packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.gz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.bz2 packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.tar.xz packages-b47c24ae242e490bbbb1c8dbde94bf19cd238596.zip |
Merge GNU Stow from @sroracle
-rw-r--r-- | user/perl-capture-tiny/APKBUILD | 43 | ||||
-rw-r--r-- | user/perl-data-optlist/APKBUILD | 34 | ||||
-rw-r--r-- | user/perl-io-stringy/APKBUILD | 41 | ||||
-rw-r--r-- | user/perl-params-util/APKBUILD | 35 | ||||
-rw-r--r-- | user/perl-sub-exporter/APKBUILD | 43 | ||||
-rw-r--r-- | user/perl-sub-install/APKBUILD | 34 | ||||
-rw-r--r-- | user/perl-test-output/APKBUILD | 44 | ||||
-rw-r--r-- | user/stow/APKBUILD | 37 |
8 files changed, 311 insertions, 0 deletions
diff --git a/user/perl-capture-tiny/APKBUILD b/user/perl-capture-tiny/APKBUILD new file mode 100644 index 000000000..1ac11f9d0 --- /dev/null +++ b/user/perl-capture-tiny/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-capture-tiny +_pkgreal=Capture-Tiny +pkgver=0.48 +pkgrel=0 +pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs" +url="https://metacpan.org/release/Capture-Tiny" +arch="noarch" +license="Apache-2.0" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="96d140b33a5ee147804925353ec5b49b806fa9c98b4ac23ec9c9494828f52ac72fd6f69c08e14ada18e5187dc4cece3d72901ce07b12eef20595322161a98437 Capture-Tiny-0.48.tar.gz" diff --git a/user/perl-data-optlist/APKBUILD b/user/perl-data-optlist/APKBUILD new file mode 100644 index 000000000..c2f5f6308 --- /dev/null +++ b/user/perl-data-optlist/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-data-optlist +_pkgreal=Data-OptList +pkgver=0.110 +pkgrel=0 +pkgdesc="Parse and validate simple name/value option pairs" +url="https://metacpan.org/release/Data-OptList" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl perl-params-util perl-sub-install" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="68393958a38f509a71cfba61f6dff8303821918ba29ad8492af0c23cfd4f741c6ce98c4f68ad295f27e166287fc546229c430816f0bdd6009d4f60860c967b76 Data-OptList-0.110.tar.gz" diff --git a/user/perl-io-stringy/APKBUILD b/user/perl-io-stringy/APKBUILD new file mode 100644 index 000000000..e5a271ac7 --- /dev/null +++ b/user/perl-io-stringy/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-io-stringy +_pkgreal=IO-stringy +pkgver=2.111 +pkgrel=0 +pkgdesc="I/O on in-core objects like strings and arrays" +url="https://metacpan.org/release/IO-stringy" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="9da8fb03945bc4a59cea3b3b2e22b15d56b133470e581d1cb03920bda2b4953e3c9e4a25d095ed8a384efb5a4c58db437c92cca6a81d583791191f1a37691a4a IO-stringy-2.111.tar.gz" diff --git a/user/perl-params-util/APKBUILD b/user/perl-params-util/APKBUILD new file mode 100644 index 000000000..f18775a6f --- /dev/null +++ b/user/perl-params-util/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-params-util +_pkgreal=Params-Util +pkgver=1.07 +pkgrel=5 +pkgdesc="Simple, compact and correct param-checking functions" +url="https://metacpan.org/release/Params-Util" +arch="all" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + unset CFLAGS + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="ff471b01b33414fc5e1c68d97c21171a95d3418c33e3c45f9910cc768898690e35051506a83ad9403a200336654c14b8efc9d471c4b3fe3321047a7603d6fd56 Params-Util-1.07.tar.gz" diff --git a/user/perl-sub-exporter/APKBUILD b/user/perl-sub-exporter/APKBUILD new file mode 100644 index 000000000..174da8d4b --- /dev/null +++ b/user/perl-sub-exporter/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-sub-exporter +_pkgreal=Sub-Exporter +pkgver=0.987 +pkgrel=0 +pkgdesc="A sophisticated exporter for custom-built routines" +url="https://metacpan.org/release/Sub-Exporter" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +cpandepends="perl-data-optlist perl-sub-install perl-params-util" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="6b682d27a0df8ce971ea48aeca5162e1c70929c51cf27119b30361477876b0b86ecb15ab13a6c3cbe5bb85be9e600589fb9e3c9c4e94bad3fc05b675d293adad Sub-Exporter-0.987.tar.gz" diff --git a/user/perl-sub-install/APKBUILD b/user/perl-sub-install/APKBUILD new file mode 100644 index 000000000..d0883e0cd --- /dev/null +++ b/user/perl-sub-install/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-sub-install +_pkgreal=Sub-Install +pkgver=0.928 +pkgrel=0 +pkgdesc="Install subroutines into packages easily" +url="https://metacpan.org/release/Sub-Install" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="3f25df9f5992075968830d4235e9f6520c526331b9180391e41483241d43253a61ad8dc381d77aaeb6c6fb841cfc5c097598e62abb46208894275c393a133ade Sub-Install-0.928.tar.gz" diff --git a/user/perl-test-output/APKBUILD b/user/perl-test-output/APKBUILD new file mode 100644 index 000000000..8454737f3 --- /dev/null +++ b/user/perl-test-output/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-output +_pkgreal=Test-Output +pkgver=1.031 +pkgrel=0 +pkgdesc="Utilities to test STDOUT and STDERR messages" +url="https://metacpan.org/release/Test-Output" +arch="noarch" +license="Artistic-2.0" +cpandepends="perl-capture-tiny perl-sub-exporter perl-test-simple" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +checkdepends="perl-test-pod" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="b443d5a4ab7be1c308b74ebc9a1a50022b404886e8a1dbd2700d974ead506a6976ec6d5c141528cf1c2833174c3afd9023362cb0b4e000f0e878d2e3e9f90e90 Test-Output-1.031.tar.gz" diff --git a/user/stow/APKBUILD b/user/stow/APKBUILD new file mode 100644 index 000000000..dcb81dc09 --- /dev/null +++ b/user/stow/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Stefan Wagner <stw@bit-strickerei.de> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=stow +pkgver=2.2.2 +pkgrel=0 +pkgdesc="Manage installation of multiple softwares in the same directory tree" +url="https://www.gnu.org/software/stow/" +arch="noarch" +license="GPL-2.0-only" +depends="perl" +makedepends="perl-test-output" +checkdepends="perl-io-stringy" +subpackages="$pkgname-doc" +source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-pmdir=/usr/lib/perl5/vendor_perl +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/share/doc/stow/manual.pdf + rm "$pkgdir"/usr/share/doc/stow/version.texi +} + +sha512sums="8a3e5da6b5cb4c1ee1b512bae5a9859f83659d5de05f7a9af1dd09df2a32f6b8c6d43b79736db91232c43621d542041d4ef92eb088925796adad0676f200a9b5 stow-2.2.2.tar.gz" |