aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-cwmp
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/perl-cwmp
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/perl-cwmp')
-rw-r--r--unmaintained/perl-cwmp/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/perl-cwmp/APKBUILD b/unmaintained/perl-cwmp/APKBUILD
new file mode 100644
index 0000000000..155b12cd4f
--- /dev/null
+++ b/unmaintained/perl-cwmp/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=perl-cwmp
+pkgver=0_git20150919
+pkgrel=1
+pkgdesc="Perl ACS server implementing CWMP protocol to manage CPE clients"
+url="https://github.com/dpavlin/perl-cwmp"
+arch="noarch"
+license="GPL2"
+depends="perl-class-accessor perl-data-dump perl-file-remove
+ perl-file-slurp perl-hash-merge perl-module-install perl-ipc-dirqueue
+ perl-module-pluggable perl-pathtools perl-xml-bare perl-xml-generator
+ perl-yaml-syck perl-yaml-tiny perl-json-xs perl-yaml perl-common-sense
+ perl-types-serialiser perl-net-http perl-dbm-deep perl-term-shelly
+ perl-term-readkey"
+depends_dev=
+makedepends="perl $depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="http://dev.alpinelinux.org:/archive/$pkgname/$pkgname-$pkgver.tar.gz
+ "
+giturl="https://github.com/dpavlin/perl-cwmp"
+disturl="http://dev.alpinelinux.org:/archive/$pkgname"
+
+_builddir="$srcdir"/$pkgname-$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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ for file in acs cli cpe-queue dump dump2test; do
+ install -D -m0755 bin/${file}.pl "$pkgdir"/usr/bin/${file}.pl
+ done
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="5533317abb05a198e3ffab05fa848279 perl-cwmp-0_git20150919.tar.gz"
+sha256sums="b2855523017734caa80f6d1e0ed21df23571a597dcd4269ea77195feabdf4534 perl-cwmp-0_git20150919.tar.gz"
+sha512sums="92211a11c7b23a939211aca51e5f26856fd4451c0b9f0743f622c1df2fa934020dd1bb9427947c668462a9beae106c08366167080556a52179e6b92a76e35588 perl-cwmp-0_git20150919.tar.gz"