From b6af1e02efe594039707cd882517663d5370f375 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 25 Aug 2016 15:26:24 +0200 Subject: 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 --- unmaintained/perl-geo-ip/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 unmaintained/perl-geo-ip/APKBUILD (limited to 'unmaintained/perl-geo-ip') diff --git a/unmaintained/perl-geo-ip/APKBUILD b/unmaintained/perl-geo-ip/APKBUILD new file mode 100644 index 0000000000..524f369eaa --- /dev/null +++ b/unmaintained/perl-geo-ip/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Valery Kartel +# Maintainer: Valery Kartel +pkgname=perl-geo-ip +_pkgreal=Geo-IP +pkgver=1.45 +pkgrel=0 +pkgdesc="Look up location and network information by IP Address" +url="http://search.cpan.org/dist/Geo-IP/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MA/MAXMIND/$_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="781fbf2a6b6505e86e3e5ebe05254928 Geo-IP-1.45.tar.gz" +sha256sums="0eb765c238dde4a29d5c863d475c72078e5361deab2cfc168b9285bc049e3662 Geo-IP-1.45.tar.gz" +sha512sums="0737459b50251f64a0230176721e6a0cf7fb701451b3488c0a0628a183233b5346b7311a80fe35752104ab6812c6791cd4bafbbfa9e7ff51aa6bd4d489655af3 Geo-IP-1.45.tar.gz" -- cgit v1.2.3