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-libnet/APKBUILD | |
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-libnet/APKBUILD')
-rw-r--r-- | unmaintained/perl-libnet/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/unmaintained/perl-libnet/APKBUILD b/unmaintained/perl-libnet/APKBUILD new file mode 100644 index 0000000000..47c1054cb1 --- /dev/null +++ b/unmaintained/perl-libnet/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=perl-libnet +_pkgreal=libnet +pkgver=3.07 +pkgrel=0 +pkgdesc="Collection of network protocol modules" +url="http://search.cpan.org/dist/libnet/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/$_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 + mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl + rm -fr "$pkgdir"/usr/share/perl5 +} + +md5sums="b08cc6280201f84e0eee74107b713994 libnet-3.07.tar.gz" +sha256sums="d9a23d8907e681e788a6f1a71915b1d37d057091e88049e5a4064c99ca2c9cd7 libnet-3.07.tar.gz" +sha512sums="f1766501e46bb2a75a58c73e9416166ff0aec1eee462df04cd533747aa5d0d4a7411072440fd338cedb8b2ee522bec06f9814bd04ecf95ce9080a985ff17f745 libnet-3.07.tar.gz" |