diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-11-04 11:45:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-20 10:27:29 +0000 |
commit | 33699da7193797c0e87f6e458ed6924c31994559 (patch) | |
tree | cb7908ef7783c67edec8f9eb1550160b3c56a58c /testing/ifplugd | |
parent | 09e2e43c8768fb0c3497da22c9c8e6c4150495d2 (diff) | |
download | aports-33699da7193797c0e87f6e458ed6924c31994559.tar.bz2 aports-33699da7193797c0e87f6e458ed6924c31994559.tar.xz |
testing/ifplugd: specify license
Diffstat (limited to 'testing/ifplugd')
-rw-r--r-- | testing/ifplugd/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/ifplugd/APKBUILD b/testing/ifplugd/APKBUILD index c2f01a2457..ba645e14f0 100644 --- a/testing/ifplugd/APKBUILD +++ b/testing/ifplugd/APKBUILD @@ -2,21 +2,20 @@ # Maintainer: pkgname=ifplugd pkgver=0.28 -pkgrel=2 +pkgrel=3 pkgdesc="Detect and take action when an ethernet cable is unplugged" url="http://0pointer.de/lennart/projects/ifplugd" arch="all" -license="GPL2" +license="GPL2+" depends="" depends_dev="libdaemon-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="http://0pointer.de/lennart/projects/ifplugd/ifplugd-$pkgver.tar.gz - $pkgname.initd" + $pkgname.initd" _builddir="$srcdir/$pkgname-$pkgver" - prepare() { local i cd "$_builddir" @@ -29,18 +28,19 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-lynx \ --mandir=/usr/share/man \ - || return 1 - make || return 1 + || return 1 + make || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$pkgdir"/etc/init.d/$pkgname "$pkgdir"/usr/sbin/$pkgname-helper install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } |