diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 18:34:52 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-27 18:34:52 +0000 |
commit | b86e5907166c2bd37a73f804a42e5340b78547db (patch) | |
tree | 68239e3d28637f90f4dc7f8811e420559a9e5fe0 /testing | |
parent | 6a4739579a875a34350d7bc6b0ebddf12073f2e5 (diff) | |
download | aports-b86e5907166c2bd37a73f804a42e5340b78547db.tar.bz2 aports-b86e5907166c2bd37a73f804a42e5340b78547db.tar.xz |
testing/perl-crypt-rc4: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-crypt-rc4/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-crypt-rc4/APKBUILD b/testing/perl-crypt-rc4/APKBUILD new file mode 100644 index 0000000000..78cf1931bf --- /dev/null +++ b/testing/perl-crypt-rc4/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-crypt-rc4 +_pkgreal=Crypt-RC4 +pkgver=2.02 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Crypt-RC4/" +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/SI/SIFUKURT/$_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="4ca59a7e58ac9597c3b4f3f46ea22629 Crypt-RC4-2.02.tar.gz" |