#!/bin/bash # net-tools # # Douglas Thrift # # $Id$ name=net-tools version=1.60-17 revision=0 categories=(base net) description='Configuration tools for networking' url='http://packages.debian.org/testing/net/net-tools' depends=('base/gettext') sources=(`site_debian` Makefile.patch) sourcedir=$name-${version%%-*} function build() { debian_patch || return $? gnu_patch Makefile.patch || return $? cd $source/$sourcedir || return $? yes | gmake config && gmake && gmake install BASEDIR=$package }