#!/bin/bash # smake # # Douglas Thrift # # $Id$ name=smake version=1.2a40 revision=0 categories=(devel) description='Highly portable make program with automake features' url='http://cdrecord.berlios.de/old/private/smake.html' depends=('base/glibc') sources=(ftp://ftp.berlios.de/pub/smake/alpha/$name-$version.tar.bz2) sourcedir=$name-${version%a*} function build() { cd $source/$sourcedir || return $? ./Gmake && gmake install DESTDIR=$package INS_BASE=/usr MANDIR=share/man }