#!/bin/bash # gawk # # Douglas Thrift # # $Id$ name=gawk version=3.1.5 revision=0 categories=(base lang) description='GNU awk pattern-matching language' url='http://www.gnu.org/software/gawk/gawk.html' depends=('base/glibc') sources=(`site_gnu $name-$version.tar.bz2` gawk.patch) function build() { gnu_patch gawk.patch || return $? gnu_configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man || return $? ln -sv gawk.1 $package/usr/share/man/man1/awk.1 }