aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-26 19:25:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-26 19:40:10 +0000
commit9458e6cf039a18b8dd891698481be5b68efb5ba1 (patch)
treea80458313183e5cabf110e3470428d9f972da40d
parent5adf4af4ee522cda39423372223270d84780231e (diff)
downloadaports-9458e6cf039a18b8dd891698481be5b68efb5ba1.tar.bz2
aports-9458e6cf039a18b8dd891698481be5b68efb5ba1.tar.xz
testing/wifidog: make -dev subpackage
-rw-r--r--testing/wifidog/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/testing/wifidog/APKBUILD b/testing/wifidog/APKBUILD
index 3e16875f1d..8503abd1d2 100644
--- a/testing/wifidog/APKBUILD
+++ b/testing/wifidog/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=wifidog
pkgver=20090925
-pkgrel=0
+pkgrel=1
pkgdesc="Wifi Captive Portal"
url="http://dev.wifidog.org/"
arch="all"
license="GPL-2"
depends=
makedepends=
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
wifidog.initd"
@@ -27,9 +27,7 @@ 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 -rf "$pkgdir"/usr/include || return 1
- rm "$pkgdir"/$_httplib/*.la || return 1
- rm "$pkgdir"/$_httplib/*.a || return 1
+ rm "$pkgdir"/$_httplib/*.la || return 1
install -Dm755 "$srcdir"/wifidog.initd "$pkgdir"/etc/init.d/wifidog \
|| return 1