diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-09-21 08:53:51 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-09-21 08:53:51 +0000 |
commit | c54061eba5ff03c2503cc2951ae38095230f649e (patch) | |
tree | 95a694e42674fbf0aa9f478deedd74ec48945caa | |
parent | 9c7a43dc02b57b76c963a71e8e4438ae4a78723d (diff) | |
download | aports-c54061eba5ff03c2503cc2951ae38095230f649e.tar.bz2 aports-c54061eba5ff03c2503cc2951ae38095230f649e.tar.xz |
testing/open-lldp: upgrade to 0.9.45
-rw-r--r-- | testing/open-lldp/APKBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/testing/open-lldp/APKBUILD b/testing/open-lldp/APKBUILD index b2b0c6ce18..75d6230bbc 100644 --- a/testing/open-lldp/APKBUILD +++ b/testing/open-lldp/APKBUILD @@ -1,34 +1,38 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=open-lldp _realname=lldpad -pkgver=0.9.38 +pkgver=0.9.45 pkgrel=0 pkgdesc="Open Source implementation of the IEEE standard 802.1AB Link Layer Discovery Protocol (LLDP)" url="http://www.open-lldp.org" arch="all" license="GPL" depends= -makedepends= +makedepends="autoconf automake bash flex libtool libconfig-dev libnl-dev + readline-dev" install= subpackages="$pkgname-dev $pkgname-doc" source="http://www.open-lldp.org/open-lldp/downloads/$_realname-$pkgver.tar.gz $pkgname.initd $pkgname.confd" -_builddir="$srcdir"/$_realname-$pkgver +_builddir="$srcdir/$pkgname" prepare() { cd "$_builddir" sed -i 's/ln -T -s/ln -s/' Makefile.am || exit 1 - sed -i 's/ln -T -s/ln -s/' Makefile.in || exit 1 + #sed -i 's/ln -T -s/ln -s/' Makefile.in || exit 1 + sed -i 's/-Werror //' configure.ac || exit 1 } build() { cd "$_builddir" + ./bootstrap.sh || return 1 + # aclocal -W all && automake -W all && autoconf -W all ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info || return 1 make || return 1 } @@ -40,8 +44,9 @@ package() { ln -s /usr/include/lldpad/lldp_dcbx_cmds.h "$pkgdir"/usr/include/dcbd/clif_cmds.h install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/$_realname install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/$_realname + find "$pkgdir" -name *.la -delete } -md5sums="a55178979b523c02d0bb90bb36f3a693 lldpad-0.9.38.tar.gz +md5sums="804b9385ac06689358be34b8adbb9c44 lldpad-0.9.45.tar.gz 4d226f4520fec36afee8e6b6eebf46f1 open-lldp.initd a1d2e351028d39193fc0a3466ba4db33 open-lldp.confd" |