#!/bin/bash # logrotate # # Douglas Thrift # # $Id$ name=logrotate version=3.7.1-3 revision=0 categories=(base sysutils) description='Log rotation utility' url='http://packages.debian.org/testing/admin/logrotate' depends=('base/cron' 'base/popt') sources=(`site_debian` logrotate.patch) sourcedir=$name-${version%%-*} function build() { debian_patch || return $? gnu_patch logrotate.patch || return $? gmake && gmake install DESTDIR=$package }