diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-07-07 11:29:33 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-11 14:34:37 +0300 |
commit | a4d51e7be8c0310920c3b5f9206214f79c028c5b (patch) | |
tree | 4eef8a04524444e47962f17442669411e3d05956 /testing/netdisco | |
parent | 22361b5253743998fd6ca0e7df1dad6b4a452d60 (diff) | |
download | aports-a4d51e7be8c0310920c3b5f9206214f79c028c5b.tar.bz2 aports-a4d51e7be8c0310920c3b5f9206214f79c028c5b.tar.xz |
testing/netdisco: new aport
An open source web-based network management tool
http://search.cpan.org/dist/App-Netdisco/
Diffstat (limited to 'testing/netdisco')
-rw-r--r-- | testing/netdisco/APKBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/netdisco/APKBUILD b/testing/netdisco/APKBUILD new file mode 100644 index 0000000000..063bee988f --- /dev/null +++ b/testing/netdisco/APKBUILD @@ -0,0 +1,59 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=netdisco +_pkgreal=App-Netdisco +pkgver=2.036006 +pkgrel=0 +pkgdesc="An open source web-based network management tool." +url="http://search.cpan.org/dist/App-Netdisco/" +arch="noarch" +license="bsd" +cpandepends="perl-dancer-plugin-passphrase perl-data-printer perl-plack perl-ldap + perl-file-sharedir perl-starman perl-socket6 perl-json-xs perl-netaddr-mac + perl-anyevent perl-uri perl-dancer-plugin-dbic perl-template-plugin-csv + perl-try-tiny perl-snmp-info perl-list-moreutils perl-dbix-class + perl-anyevent-dns-etchosts perl-daemon-control perl-file-slurper perl-moo + perl-io-socket-ssl perl-role-tiny perl-algorithm-cron perl-sereal + perl-template-plugin-number-format perl-json perl-dbix-class-helpers + perl-dancer-plugin-auth-extensible perl-sql-translator perl-path-class + perl-template-toolkit perl-url-encode perl-dancer perl-plack-middleware-reverseproxy + perl-namespace-clean perl-cgi-expand perl-html-parser perl-net-dns + perl-dancer-session-cookie perl-module-find perl-yaml-libyaml perl-netaddr-ip + perl-guard perl-mce perl-plack-middleware-expires perl-dbd-pg" +# perl-app-local-lib-helper perl-app-cpanminus +cpanmakedepends="" +cpancheckdepends="perl-env-path" +depends="perl-term-ui perl-archive-extract $cpandepends" +makedepends="perl-dev $cpanmakedepends" +checkdepends="$cpancheckdepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare || return 1 + + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + ./Build +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +check() { + cd "$builddir" + ./Build test +} + +sha512sums="56b6406018ed34a485a3ccb9ac618088ade6988d1cbf9082fb152cf8ab72b25556fb0aca3a2569080cd5b38e3ce41689962e0c9da23cda918e19139081868d26 App-Netdisco-2.036006.tar.gz" |