# $Id$ DESCRIPTION="Command line sending of email with attachments, optional GnuPG" HOMEPAGE="http://email.cleancode.org/" SRC_URI="http://email.cleancode.org/download/${P}.tar.bz2 \ ${PF}.patch" src_prep_init_hook() { cd ${srcdir}/${SRC_DIR} inform "APPLYING: ${PF}.patch" cygpatch ${PF}.patch } src_compile() { cd ${srcdir}/${SRC_DIR} inform "APPLYING: ${PF}.patch" cygpatch ${PF}.patch lndirs cd ${B} cygconf \ --srcdir=${S} \ --prefix=/usr \ --bindir=/bin \ --datadir=/usr/share \ --mandir=/usr/share/man \ --sbindir=/sbin \ --sysconfdir=/etc cygmake } src_install() { cd ${B} inform "cyginstall" cyginstall dobin ${C}/email-config make_etc_defaults /etc/email/* }