aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifplugd/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-04 11:45:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-20 10:27:29 +0000
commit33699da7193797c0e87f6e458ed6924c31994559 (patch)
treecb7908ef7783c67edec8f9eb1550160b3c56a58c /testing/ifplugd/APKBUILD
parent09e2e43c8768fb0c3497da22c9c8e6c4150495d2 (diff)
downloadaports-33699da7193797c0e87f6e458ed6924c31994559.tar.bz2
aports-33699da7193797c0e87f6e458ed6924c31994559.tar.xz
testing/ifplugd: specify license
Diffstat (limited to 'testing/ifplugd/APKBUILD')
-rw-r--r--testing/ifplugd/APKBUILD16
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
}