diff options
-rw-r--r-- | main/perl-data-uuid/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-data-uuid/APKBUILD b/main/perl-data-uuid/APKBUILD new file mode 100644 index 0000000000..f4b1b98994 --- /dev/null +++ b/main/perl-data-uuid/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-data-uuid +_pkgreal=Data-UUID +pkgver=1.219 +pkgrel=0 +pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)" +url="http://search.cpan.org/dist/Data-UUID/" +arch="all" +license="bsd" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/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 && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="8ca1f802b40d9b563f4de26968677097 Data-UUID-1.219.tar.gz" +sha256sums="c736d39a6fabf163423b85d94c62cbba6f57ca2f3115e21a0d0c91c23836da28 Data-UUID-1.219.tar.gz" +sha512sums="b4a09c0615876b5d0c8304459eb54300fc7e4f808969e3ccc2a929e2d47159cf0aa55e501e8f2a2a795ec31d7e7701978fd4c834eda2c19abc7e131fcb39b35e Data-UUID-1.219.tar.gz" |