testing/ifplugd: fix mandir and add -doc subpkg

and let abuild autodetect libdaemon dependency
This commit is contained in:
Natanael Copa 2012-11-21 09:25:40 +00:00
parent e567b0dde7
commit fee1d94eb3

View File

@ -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
}