#!/bin/bash # alpine # # Douglas Thrift # # $Id$ name=alpine version=0.82 revision=0 categories=(mail news) description='Alternatively Licensed Program for Internet News and Email' url='http://www.washington.edu/alpine/' depends=('base/Linux-PAM' 'base/ncurses' 'base/openssl') sources=(ftp://ftp.cac.washington.edu/alpine/$name-$version.tar.bz2) with=(ldap) [[ -n $with_ldap ]] && depends=(${depends[*]} 'net/openldap') function build() { # XXX: hrm?! yes | gnu_configure --prefix=/usr --mandir=/usr/share/man `[[ -z $with_ldap ]] && echo --without-ldap` }