summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/APKBUILD
blob: 1eb114b13a35d91ed844ecfb531cf202ab6c0b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Michael Mason <ms13sp@gmail.com> 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd
pkgver=5.1.1
pkgrel=0
pkgdesc="RFC2131 compliant DHCP client"
url="http://roy.marples.name/projects/dhcpcd/"
license="BSD-2"
depends=
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --libexecdir=/lib/dhcpcd \
		--dbdir=/var/lib/dhcpcd \
		|| return 1
	make || return 1
	make DESTDIR="$pkgdir" install
}

md5sums="7bb70885ffb1789634a20431ae4d5bbd  dhcpcd-5.1.1.tar.bz2"