diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/perl-monitoring-plugin | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/perl-monitoring-plugin')
-rw-r--r-- | unmaintained/perl-monitoring-plugin/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-monitoring-plugin/APKBUILD b/unmaintained/perl-monitoring-plugin/APKBUILD new file mode 100644 index 0000000000..8bd39998c8 --- /dev/null +++ b/unmaintained/perl-monitoring-plugin/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-monitoring-plugin +_pkgreal=Monitoring-Plugin +pkgver=0.39 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Monitoring-Plugin/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-params-validate perl-config-tiny perl-class-accessor perl-math-calc-units" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/N/NI/NIERLEIN/$_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 && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="c786ada6289bda2c4380d3df3b5185d5 Monitoring-Plugin-0.39.tar.gz" +sha256sums="5ceeaf33bc6205b847b1645a3a24cb65d1b85e19691a6333fa221c240de20c0c Monitoring-Plugin-0.39.tar.gz" +sha512sums="7bdba894cffc0839586e52f3667157cf578e94734ddc0ccd05899f631271e5b69e9cbfe4b2fb59f68b45e1d13afc82b095b65e249527f2c448a38b93e510a05c Monitoring-Plugin-0.39.tar.gz" |