diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-24 07:32:36 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-24 09:11:12 +0000 |
commit | 3bc17ab2b26238c8823651ef4a0ad2dcb866d2a4 (patch) | |
tree | 494ecb71e224d478668124bb48bca15c8c6bc4e7 /main/perl-symbol-global-name | |
parent | e36b1359e1b36bdb71810e93e5c2b5099a96b3db (diff) | |
download | aports-3bc17ab2b26238c8823651ef4a0ad2dcb866d2a4.tar.bz2 aports-3bc17ab2b26238c8823651ef4a0ad2dcb866d2a4.tar.xz |
main/perl-symbol-global-name: new aport
Diffstat (limited to 'main/perl-symbol-global-name')
-rw-r--r-- | main/perl-symbol-global-name/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-symbol-global-name/APKBUILD b/main/perl-symbol-global-name/APKBUILD new file mode 100644 index 0000000000..05645536a9 --- /dev/null +++ b/main/perl-symbol-global-name/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-symbol-global-name +_pkgreal=Symbol-Global-Name +pkgver=0.04 +pkgrel=0 +pkgdesc="finds name and type of a global variable" +url="http://search.cpan.org/dist/Symbol-Global-Name/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/$_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="102e5e9ef292c546192036165101518b Symbol-Global-Name-0.04.tar.gz" +sha256sums="252c9ada77dbe49a247ccb2cae3e7af91b6368027c13af12e8fad2c0c3bf093a Symbol-Global-Name-0.04.tar.gz" +sha512sums="fa8aca8513eea45024afbbf0e0712502b27794005185332b3d290fa8a409d716b5691eb418dac7eb6074269fe242de8e28b44bdd3858e5e21c94425deb0b15dd Symbol-Global-Name-0.04.tar.gz" |