6 pkgdesc="BootP and DHCP client"
7 makedepends=('libnewt')
9 source=(http://ftp.de.debian.org/debian/pool/main/p/pump/pump_${pkgver}.orig.tar.gz
10 http://ftp.de.debian.org/debian/pool/main/p/pump/pump_${pkgver}-${pkgrel}.diff.gz
12 md5sums=('866fc9f62b8161eb1514a6a06597edc9'
13 '29b66e30daaccb1ec34123e292aa36b4'
14 '448cc87449887ec65582b80eeb3dc583'
15 '8b7892bd084934fc698a4f0ce186c844')
16 url="http://packages.debian.org/wheezy/pump"
17 backup=(etc/conf.d/pump)
18 install="pump.install"
21 sed -i -e "s|/usr/bin/install|/bin/install|g" $srcdir/pump-$pkgver/po/Makefile
22 sed -i -e 's|install -m 755 netconfig $(USRSBINPATH)/netconfig||g' $srcdir/pump-$pkgver/Makefile
24 cd $srcdir/pump-$pkgver
25 patch -Np1 -i ../pump_${pkgver}-${pkgrel}.diff
27 for i in `ls debian/patches/*.patch* | sort`; do
32 echo "Error processing $i"
37 sed -i 's#-Wall -Werror ##g' $srcdir/pump-$pkgver/Makefile
42 cd $srcdir/pump-$pkgver
44 mkdir -p $pkgdir/usr/{man/man8,share/locale}
45 RPM_BUILD_ROOT=$pkgdir/usr sbindir=$pkgdir/usr/sbin libdir=$pkgdir/usr/lib includedir=$pkgdir/usr/include mandir=$pkgdir/usr/man datadir=$pkgdir/usr/share make install
47 install -D -m644 $srcdir/pump.rc-conf $pkgdir/etc/conf.d/pump
48 install -D -m755 $srcdir/pump.rc $pkgdir/etc/rc.d/pump