aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-08 09:47:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-08 09:47:59 +0000
commit3aebb4fffe342116c206a339d3276a600e52ef59 (patch)
tree612c5db9b3085030caf62ca9640f46879e63ba42 /main/dhcpcd/APKBUILD
parent836efa79e6397dda69543c7b553e33f5bcf2d615 (diff)
downloadaports-3aebb4fffe342116c206a339d3276a600e52ef59.tar.bz2
aports-3aebb4fffe342116c206a339d3276a600e52ef59.tar.xz
main/dhcpcd: add init.d script
Diffstat (limited to 'main/dhcpcd/APKBUILD')
-rw-r--r--main/dhcpcd/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD
index ec04e0ac77..5f85d9f86c 100644
--- a/main/dhcpcd/APKBUILD
+++ b/main/dhcpcd/APKBUILD
@@ -2,15 +2,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd
pkgver=5.2.5
-pkgrel=0
+pkgrel=1
pkgdesc="RFC2131 compliant DHCP client"
url="http://roy.marples.name/projects/dhcpcd/"
license="BSD-2"
depends=
-makedepends=""
+makedepends=
install=
subpackages="$pkgname-doc"
-source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2"
+source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
+ dhcpcd.initd"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -23,6 +24,8 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir"/dhcpcd.initd "$pkgdir"/etc/init.d/dhcpcd
}
-md5sums="79f5452252026c0547886f89ab87adf1 dhcpcd-5.2.5.tar.bz2"
+md5sums="79f5452252026c0547886f89ab87adf1 dhcpcd-5.2.5.tar.bz2
+ecbd807cf3f87d7c5b6095bf63f26894 dhcpcd.initd"