updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / udhcp / PKGBUILD
blob1adaaaafbf6c915d8c49e7860eb9ca08fd30fe9f
1 # Contributor: Spooky Hunter <spookyh+arch@gmail.com>
2 pkgname=udhcp
3 pkgver=0.9.8cvs20050303
4 pkgrel=2
5 pkgdesc="Lightweight DHCP server/client"
6 arch=('i686' 'x86_64')
7 url="http://busybox.net/"
8 license=('GPL')
9 source=(http://ftp.de.debian.org/debian/pool/main/u/udhcp/udhcp_0.9.8cvs20050303.orig.tar.gz
10         http://ftp.de.debian.org/debian/pool/main/u/udhcp/udhcp_0.9.8cvs20050303-2.1.diff.gz        
11         udhcpd.conf
12         udhcpd)
13 md5sums=('ab7a2c2c480d916a4102cc282a5ec65d'
14          '73310f30aff6e902487eea0d07cdb6ea'
15          '5bf4306f33aa196ca16ac3b0f149c3eb'
16          'cfccb03cbecc36553893e7900effdfda')
18 build() {
19   cd "$srcdir/$pkgname" || return 1
20 #  gunzip udhcp_0.9.8cvs20050303-2.1.diff.gz
21   patch -Np1 -i ../udhcp_0.9.8cvs20050303-2.1.diff || return 1
22   make || return 1
23   make DESTDIR="$pkgdir" install
24   install -D -m 755 ../udhcpd $pkgdir/etc/rc.d/udhcpd
25   install -D -m 755 ../udhcpd.conf $pkgdir/etc/udhcpd.conf