summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/perl-crypt-des/APKBUILD35
-rw-r--r--main/perl-crypt-rijndael/APKBUILD35
-rw-r--r--main/perl-net-snmp/perl-net-snmp/APKBUILD36
-rw-r--r--main/perl-socket6/perl-socket6/APKBUILD34
4 files changed, 140 insertions, 0 deletions
diff --git a/main/perl-crypt-des/APKBUILD b/main/perl-crypt-des/APKBUILD
new file mode 100644
index 000000000..790c86113
--- /dev/null
+++ b/main/perl-crypt-des/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
+pkgname=perl-crypt-des
+_pkgreal=Crypt-DES
+pkgver=2.05
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Crypt-DES/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a8a0bea7064e11d2af434f3e468c17bb Crypt-DES-2.05.tar.gz"
diff --git a/main/perl-crypt-rijndael/APKBUILD b/main/perl-crypt-rijndael/APKBUILD
new file mode 100644
index 000000000..90b7d1727
--- /dev/null
+++ b/main/perl-crypt-rijndael/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
+pkgname=perl-crypt-rijndael
+_pkgreal=Crypt-Rijndael
+pkgver=1.09
+pkgrel=0
+pkgdesc="Crypt::CBC compliant Rijndael encryption module"
+url="http://search.cpan.org/dist/Crypt-Rijndael/"
+arch="all"
+license="lgpl_2_1"
+cpandepends="perl-test-manifest"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="6a2678fbd7a0c9ed277d4b758a530b1c Crypt-Rijndael-1.09.tar.gz"
diff --git a/main/perl-net-snmp/perl-net-snmp/APKBUILD b/main/perl-net-snmp/perl-net-snmp/APKBUILD
new file mode 100644
index 000000000..d998f9131
--- /dev/null
+++ b/main/perl-net-snmp/perl-net-snmp/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
+pkgname=perl-net-snmp
+_pkgreal=Net-SNMP
+pkgver=v6.0.1
+pkgrel=0
+pkgdesc="Object oriented interface to SNMP"
+url="http://search.cpan.org/dist/Net-SNMP/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="6137f04f9942d703f66179f890e3d096 Net-SNMP-v6.0.1.tar.gz"
diff --git a/main/perl-socket6/perl-socket6/APKBUILD b/main/perl-socket6/perl-socket6/APKBUILD
new file mode 100644
index 000000000..50b99015e
--- /dev/null
+++ b/main/perl-socket6/perl-socket6/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
+pkgname=perl-socket6
+_pkgreal=Socket6
+pkgver=0.23
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Socket6/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+source="http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="2c02adb13c449d48d232bb704ddbd492 Socket6-0.23.tar.gz"