#!/bin/bash # util-linux # # Douglas Thrift # # $Id$ name=util-linux version=2.12r revision=0 categories=(base sysutils) description='Miscellaneous utilities for Linux' url='http://www.kernel.org/pub/linux/utils/util-linux/' depends=('base/e2fsprogs' 'base/miscfiles' 'base/ncurses' 'base/perl') sources=(`site_kernel linux/utils/$name/$name-$version.tar.bz2` util-linux.patch) tasks=(install upgrade) function build() { gnu_patch util-linux.patch || return $? gnu_configure --prefix=/usr }