diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-01-11 00:59:19 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-01-11 01:05:25 +0100 |
commit | 35529369438fa69670aaa9c5ba3921a92a2c7797 (patch) | |
tree | 4d4ef51836ef0cc9d359bb2c5beaafc503727d97 /testing/wavemon | |
parent | aa7c516d9e7c8d5bc18d1d36e82fc49e75843a47 (diff) | |
download | aports-35529369438fa69670aaa9c5ba3921a92a2c7797.tar.bz2 aports-35529369438fa69670aaa9c5ba3921a92a2c7797.tar.xz |
testing/wavemon: upgrade to 0.8.0
Diffstat (limited to 'testing/wavemon')
-rw-r--r-- | testing/wavemon/APKBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/testing/wavemon/APKBUILD b/testing/wavemon/APKBUILD index 22b0f4deb..4c77fcc21 100644 --- a/testing/wavemon/APKBUILD +++ b/testing/wavemon/APKBUILD @@ -1,37 +1,40 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=wavemon -pkgver=0.7.6 +pkgver=0.8.0 pkgrel=0 pkgdesc="Ncurses-based monitoring application for wireless network devices" url="http://eden-feed.erg.abdn.ac.uk/wavemon/" arch="all" license="GPL2+" depends="" -depends_dev="ncurses-dev libcap-dev" -makedepends="$depends_dev" +depends_dev="" +makedepends="ncurses-dev libcap-dev libnl3-dev autoconf automake" install="" subpackages="$pkgname-doc" -source="wavemon-$pkgver.tar.gz::https://github.com/uoaerg/wavemon/archive/v$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { - local i cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + update_config_sub || return 1 + + sed -i '/^CFLAGS/d' configure.ac + autoreconf -fi || return 1 } build() { cd "$_builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ + --sysconfdir=/etc \ --mandir=/usr/share/man \ + --localstatedir=/var \ || return 1 - make CFLAGS="-pthread" || return 1 + make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3" || return 1 } package() { @@ -39,6 +42,6 @@ package() { make DESTDIR=$pkgdir install || return 1 } -md5sums="cd0049f174745d32b4fdf3b63d897bad wavemon-0.7.6.tar.gz" -sha256sums="29c62524432213a6ba8c56ac9a35d83876cbc52745c82c2e2fec78e008d46b0e wavemon-0.7.6.tar.gz" -sha512sums="d5863bd5ea4ead763b07eb723a2017d1ad53708f5a92cd90522aa508e144f02b60a7ad1123291e635e83b2e88d03be09f54e1ea7e2c2831bd07dc907d2d621af wavemon-0.7.6.tar.gz" +md5sums="816b65577ecf1d2964dee37381901296 wavemon-0.8.0.tar.gz" +sha256sums="81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a wavemon-0.8.0.tar.gz" +sha512sums="2df48eb300e9b30e0cb7a0ab41ba5e10b2a6e8170dbd11a4c978462c8cd6dc1171f79ceadfdb7344c495420a4e87b7dd723efea4f1af59a6d0312d93049ee798 wavemon-0.8.0.tar.gz" |