aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifplugd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-21 09:25:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-21 09:25:40 +0000
commitfee1d94eb31eccc3be0d28ef4300ca88abe80a70 (patch)
tree1977bda2ef032b4d87fba0ca476a1331a08ffed7 /testing/ifplugd
parente567b0dde77f1220423f02be9b33166c26e175bd (diff)
downloadaports-fee1d94eb31eccc3be0d28ef4300ca88abe80a70.tar.bz2
aports-fee1d94eb31eccc3be0d28ef4300ca88abe80a70.tar.xz
testing/ifplugd: fix mandir and add -doc subpkg
and let abuild autodetect libdaemon dependency
Diffstat (limited to 'testing/ifplugd')
-rw-r--r--testing/ifplugd/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/ifplugd/APKBUILD b/testing/ifplugd/APKBUILD
index 8a75dfda81..0f1c46592a 100644
--- a/testing/ifplugd/APKBUILD
+++ b/testing/ifplugd/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer:
pkgname=ifplugd
pkgver=0.28
-pkgrel=0
+pkgrel=1
pkgdesc="ifplugd is a Linux daemon which will automatically configure your ethernet device when a cable is plugged in and automatically unconfigure it if the cable is pulled. This is useful on laptops with onboard network adapters, since it will only configure the interface when a cable is really connected."
url="http://0pointer.de/lennart/projects/ifplugd"
arch="all"
license="GPL2"
-depends="libdaemon"
+depends=""
depends_dev="libdaemon-dev"
makedepends="$depends_dev"
install=""
-subpackages=""
+subpackages="$pkgname-doc"
source="http://0pointer.de/lennart/projects/ifplugd/ifplugd-$pkgver.tar.gz
$pkgname.initd"
@@ -32,7 +32,8 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-lynx \
+ --disable-lynx \
+ --mandir=/usr/share/man \
|| return 1
make || return 1
}