diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-19 20:52:01 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-19 20:52:22 +0100 |
commit | ae38d13a12e67ea899b5324027d15f7d0fc57b99 (patch) | |
tree | 7a5032cf26baff5c0779c55b105c9e46beeb5b4f /community/wavemon | |
parent | 684786060ffb264712c116a2391019834225abee (diff) | |
download | aports-ae38d13a12e67ea899b5324027d15f7d0fc57b99.tar.bz2 aports-ae38d13a12e67ea899b5324027d15f7d0fc57b99.tar.xz |
community/wavemon: fix abuild
Diffstat (limited to 'community/wavemon')
-rw-r--r-- | community/wavemon/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/wavemon/APKBUILD b/community/wavemon/APKBUILD index 88eb0edb2e..b218a8ba48 100644 --- a/community/wavemon/APKBUILD +++ b/community/wavemon/APKBUILD @@ -8,16 +8,18 @@ pkgdesc="Ncurses-based monitoring application for wireless network devices" url="https://github.com/uoaerg/wavemon" arch="all" license="GPL2+" -makedepends="ncurses-dev libcap-dev libnl3-dev libnl3-dev autoconf automake" +makedepends="ncurses-dev libcap-dev libnl3-dev autoconf automake" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" prepare() { + default_prepare || return 1 + cd "$builddir" update_config_sub || return 1 - sed -i '/^CFLAGS/d' configure.ac + sed -i '/^CFLAGS/d' configure.ac || return 1 autoreconf -fi || return 1 } @@ -36,7 +38,11 @@ build() { package() { cd "$builddir" - make DESTDIR=$pkgdir install || return 1 + + make DESTDIR="$pkgdir" install || return 1 + + mkdir -p "$pkgdir"/usr/share/doc + mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ } md5sums="816b65577ecf1d2964dee37381901296 wavemon-0.8.0.tar.gz" |