summaryrefslogtreecommitdiffstats
path: root/testing/wifidog/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wifidog/APKBUILD')
-rw-r--r--testing/wifidog/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/wifidog/APKBUILD b/testing/wifidog/APKBUILD
index 8503abd1d..3e16875f1 100644
--- a/testing/wifidog/APKBUILD
+++ b/testing/wifidog/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=wifidog
pkgver=20090925
-pkgrel=1
+pkgrel=0
pkgdesc="Wifi Captive Portal"
url="http://dev.wifidog.org/"
arch="all"
license="GPL-2"
depends=
makedepends=
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
wifidog.initd"
@@ -27,7 +27,9 @@ package() {
mkdir -p "$pkgdir"/etc/wifidog || return
cp "$_builddir"/wifidog.conf "$pkgdir"/etc/wifidog/wifidog.conf
cp "$_builddir"/wifidog-msg.html "$pkgdir"/etc/wifidog/wifidog-msg.html
- rm "$pkgdir"/$_httplib/*.la || return 1
+ rm -rf "$pkgdir"/usr/include || return 1
+ rm "$pkgdir"/$_httplib/*.la || return 1
+ rm "$pkgdir"/$_httplib/*.a || return 1
install -Dm755 "$srcdir"/wifidog.initd "$pkgdir"/etc/init.d/wifidog \
|| return 1