1 # Contributor: Spooky Hunter <spookyh+arch@gmail.com>
3 pkgver=0.9.8cvs20050303
5 pkgdesc="Lightweight DHCP server/client"
7 url="http://busybox.net/"
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
13 md5sums=('ab7a2c2c480d916a4102cc282a5ec65d'
14 '73310f30aff6e902487eea0d07cdb6ea'
15 '5bf4306f33aa196ca16ac3b0f149c3eb'
16 'cfccb03cbecc36553893e7900effdfda')
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
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