mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 17:01:34 +01:00
testing/perl-cwmp: new aport
Perl ACS server implementing CWMP protocol to manage CPE clients
This commit is contained in:
parent
4849da47c9
commit
5874dfc1a9
50
testing/perl-cwmp/APKBUILD
Normal file
50
testing/perl-cwmp/APKBUILD
Normal file
@ -0,0 +1,50 @@
|
||||
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
# Maintainer:
|
||||
pkgname=perl-cwmp
|
||||
pkgver=0_git20150919
|
||||
pkgrel=0
|
||||
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"
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user