diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-20 08:13:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-20 08:13:31 +0000 |
commit | 6277138938cfe1935fb6d189e19860874d9fb903 (patch) | |
tree | 39ad3d95d9278dbbde34a1b695abb93353550362 /extra/dhcp/APKBUILD | |
parent | 399d63b082b5275f4b1ddca2670b5525de31110e (diff) | |
parent | 7598c40207fc8061cf25872b7624cec261cad6c4 (diff) | |
download | aports-6277138938cfe1935fb6d189e19860874d9fb903.tar.bz2 aports-6277138938cfe1935fb6d189e19860874d9fb903.tar.xz |
Merge remote branch 'ms13sp/master'
Diffstat (limited to 'extra/dhcp/APKBUILD')
-rw-r--r-- | extra/dhcp/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/dhcp/APKBUILD b/extra/dhcp/APKBUILD new file mode 100644 index 0000000000..f3d4ec271c --- /dev/null +++ b/extra/dhcp/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: +# Maintainer: +pkgname=dhcp +pkgver=4.1.0 +pkgrel=0 +pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" +url="https://www.isc.org/" +license="GPL" +depends="uclibc" +makedepends="" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="http://ftp.isc.org/isc/dhcp/$pkgname-$pkgver.tar.gz + dhcp.confd + dhcp.initd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="1fffed2e8c3d67b111316d6a9b33db7a dhcp-4.1.0.tar.gz +df32707f5bbe5363306420b5dc6e6b40 dhcp.confd +5df9a87539bedc98a1cbc7e38b290928 dhcp.initd" |