testing/lldpd: fix .pc version and rebuild against perl 5.30

This commit is contained in:
Natanael Copa 2019-09-05 09:50:31 +00:00
parent 3379a2ad72
commit 4703db70e8

View File

@ -2,13 +2,13 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=lldpd
pkgver=1.0.4
pkgrel=0
pkgrel=1
pkgdesc="Implementation of IEEE 802.1ab (LLDP) "
url="http://vincentbernat.github.com/lldpd/"
arch="all"
license="ISC"
makedepends="autoconf automake libtool linux-headers bsd-compat-headers
libevent-dev libxml2-dev net-snmp-dev libbsd-dev jansson-dev
libevent-dev libxml2-dev net-snmp-dev libbsd-dev jansson-dev
doxygen perl-dev readline-dev"
install="$pkgname.post-install"
subpackages="$pkgname-dev $pkgname-doc
@ -24,6 +24,8 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
# this should be shipped with the release tarball
echo $pkgver > .dist-version
./autogen.sh
default_prepare
}